Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | TheBiggestNoob |
if Input.is_key_pressed(KEY_A):
print(“Attack is working”)
$Sprite.play(“Attack”)
So this is the code I used, and it does output “Attack is working”, whenever I press the A key, however the sprite just freezes and does nothing. It is really frustrating, I hope someone can help.