Topic was automatically imported from the old Question2Answer platform.
Asked By
Radgrid728
I want an animated sprite to stop it’s animation by pressing a button.
So I wrote a script
func _on_Button3_pressed():
if Input.is_action_pressed(“Your Button”): $AnimatedSprite.play(“stop”)