So i'm having kinda the same problem here, when i press "X" my player does the shooting animation but i can still walk and do the walking animation but that's not what i want.
TL;DR: while the shooting animation is play what i want is that i can't do anything until it's finished, i can't walk or play the walking animation.. a little help would be cool