Jump Animation keeps playing after pressing space.

So I’ve been using Sunny Land 2D assets to test my animation skills and I ran into some problems. I made all animations but after I jump and my animation is played if I am still in the air and press jump again even if I can’t jump twice animation just repeats itself. I want do play the animation only after I jump from ground and so I can’t play it again until I jump again. How do I do this?

You should make the animator have a variable (like a bool) for when the character touchs the ground, so it will check that when you hit “jump” the player is touching the ground before starting to do the jump animation.

If you already have a bool in a kind of jump script, you could use it to make it more easy.

I hope this helps you, @PoomaxFTW !