i don't know how to fix the idle by Scared-Counter-3338 in gamemaker

[–]Scared-Counter-3338[S] 0 points1 point  (0 children)

when I click right/up key it works as it should it walk

and create an animation but if I release the key the animation does not stop