I'm making a platformer game (like Zelda II), but when my character moves left or right he can't do the attacking animation, it just starts the walking animation from the beginning.
I have it on Key pressed Right -> set animation to walk, but I don't know how to fix it.
It works when jumping, falling and standing still because of animation triggers, but there isn't animation trigger for moving in a specified direction, so I can't get it to work.