How to stop getting walking animation when flying?

I am new to unreal engine 4 and have no idea how to change that. My character flies when i press f but the character has walking animation and I want the legs to just hang there. But they don’t lol. How do I change this?

Learn how to use animation blueprints. There you vet everything you need to switch you animation sets for different character states.

You probably need to set movement mode manually too.