Animated idle after so long

I am trying to think of a way to do an idle animation so that if the player doesn’t interact with the platform character for a set amount of time it play another animation sort of like Sonic tapping his foot.

I tried to do is moving inverted with wait x seconds the change the animation to idle waiting but it interfered with the other animations.

does anyone know of how I could do this

Thank you

this is my code so far

Start a timer at the beginning of the scene. Put in an event with a check whether the timer is greater than whatever time limit you want before the toe-tapping-type animation to start. In this event have the action to change the animation.

Then, every time you press a key to move the player, reset the timer and change the animation accordingly.

1 Like