Syntax help, end of an animation.
What would be the correct syntax to know when an animation ends so that only after starting the next?
Because in this my case, the Attack animation is being cut and is not coming to an end, so how would it be correct to not cut attack the animation and show the animation attack correct?
I am using separate Sprites and not a SpriteSheet file.
Code in Pastbin in link: