An easy way to do this is for instance you have 3 animations left right and turnaround
If left animation is playing
And keyboard key press right
Play animation turnaround
If right animation is playing
And keyboard key press left
Play animation turnaround
Dont allow the player to turn though until the animation has finished as it might look glitchy from turning so you can do this by adding
Is animation turnaround playing
Then right click that and select invert now a red x should appear meaning its checking that turnaround isnt playing meaning the player cant turnaround until the character is dont turning the first time.