The title might not make much sense but let me explain. So when the player presses left it mirrors and when it presses right it sets to unmirrored. What I want is when the player is doing an animation, for the animation to play at the current state (mirrored or not mirrored) but not be able to change for the duration of the animation
Develop games in your browser. Powerful, performant & highly capable.
Assuming you mean an animation other than the walk animation you could add a condition to the mirror event 'walk animation is playing', so it only mirrors when you're walking and won't do it if it's playing another animation like an attack.