...input, and it only animates the sprite when the button isn't being pressed, as seen below: