Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Trumble |
Reply From: | Vikrant |
you could use
if Input.is_button_pressed("Attack"):
$AnimatedSprite.play("Attack")
else:
$AnimatedSprite.play("idle")
you need to describe what is attack button which is under
Project > project settings > input map