Hi!
I would like to know if there is a way to make a function that could trigger a diffirent sprite animation when the character’s y value is dropping (to trigger the falling sprite) or rising (to trigger the jumping sprite)?
This is not only for jumping purposes but also for when the character falls off a cliff etc.
Basically if character is going up (increasing it’s y value) I want the jumping sprite to play.
And when character is falling down (decreasing it’s y value) I want the falling sprite to play.
Is there a way I can do that?