Here is an issue I've been having for a while in my game. Whenever my character gets hurt, it goes into the hurt animation, and what's supposed to happen is if you're not moving, the animation is supposed to change to the idle animation, and if you are, the animation is supposed to change to the walking animation. However, the hurt animation freezes on the last frame until you stop moving, and the idle animation is frozen as well and doesn't change to the walking animation when you start to walk.
I would like to know what's wrong and how to fix it, if anyone knows. (Ignore the gun variable in my events, that's for determining which weapon you are holding, as the Player has separate animation sets for each weapon)