Im trying to make an animation similar to Sonic's waiting pose after the player is Idle for 30 seconds.
Develop games in your browser. Powerful, performant & highly capable.
Try something like this:
Add the timer behavior to the player. Whenever an input key is released, start the timer. Whenever a button is pressed, stop the timer. On timer, play the animation.