Walking animation midair

I can’t seem to be able to keep the walking animation from working midair. I’ve tried everything I could find, and it still didn’t work.

Is the animation linked to a specific key? And if so, which key?

Both A and D.

Then if someone is pressing any of those, even whilst midair, the animation will indeed play. I currently don’t know how to fix this, but I can and will eventually figure this out.

Can you share a link to your game? I want to take a look.

Well, I was working on it, and now it’s just a single frame from the animation that is playing midair. http://www.flowlab.io/game/play/1078203

You could use proximity to your ground to trigger a switch allowing the animation, and not allowing the animation when not close enough to ground. That’s not a perfect fix, but it’s the best I can come up with.

Ok. Thanks

I got the problem solved.