Animations block at first frame [Resolved]

Hello, I am encountering a problem. The animation remains blocked on the first frame when I press the button to activate it.
Ps: I’m just starting GD

It’s because you are setting the animation in the first event, and then resetting it when you press a key/button. Check out this link for a further explanation..

Thanks, it works well.
Here is my solution, for those who have the same problem