How to prevent movement and move animations when using certain items?

Malaussene

New member
Hello all! First post and first question here.
Like in the topic title, I'm trying to stop both movement and move animations when using certain items.
To be more specific, I want the character to punch and kick (using the body item type like in the tutorial videos) and not be able to move while doing it.
I created a BodyMelee state and was able to add a state preset to the change speed ability to prevent movement (don't know if that is the right ability to use though), but the walking animation still play while punching (if I keep pressing the movement inputs, obviously).

Thanks a lot for your help!
 
Top