Attack animation looping, what am I missing?

Hello everyone. I am new to game development and trying to make a 2D game. My problem is that my characters’ attack animation starts looping over and over once it is pressed. The game loads up and the other animations work like they are supposed to, but once I press the attack button, the animation keeps repeating and cannot be stopped. Can you find anything in my script that could be making the character behave like this?



godot3

obraz
add Print message there, if you don’t see anything in console,

  • animation is in loop (will newer send finish signal)
  • animation is changed before finish
1 Like

Is it set to loop?

2024-06-11-090647_249x136_scrot