180 turn from Idle when character starts to walk in opposite direction.

Greetings,

Apologies if this is already covered somewhere on the internet, but I haven’t quite been able to find it after a lot of searching. I want the character to play a turn animation when they start to move in the opposite direction. (If the character is facing the camera, and the player presses W I’d like for the character to spin with an animation before moving forward.) I already have something similar for when the character is running, I just can’t make it work when they’re idle and first start to move.

https://youtu.be/necDLmN-Qyc

(attached is a snap shot for my 180 turn when running., within the anim BP.)

Many thanks.