So I added attack animations to my character sprites, but whenever I walk while holding the attack button, it starts to act like this.
As you can see, when I start holding the attack button while running, the character arms keep going up trying to attack, I suppose because the game is trying to load both sprites at the same time.
Is there a way to solve this? To make it so the game uses the attack animation when the character is running?