How to Repeat Attack Action

OKAY, SO. In order for my character to use the “attack” animation, I press the Z button. However, the animation will only work the one time, unless the character moves.

I want to be able to have my character stand still, and simply repeat the attack animation everytime the Z button is pressed.

Can anyone help me?

1 Like

can you show some code here?