Blueprint logic

hello guys, when the character is looking forward (x) the animations are triggered correctly, however, when I turn the character to y, -y and -x the animations start to reverse, I would like to know why my direction is like that? The warning says that there is a runtime error in “set direction”, but I don’t know what else to do to calculate the direction…

https://youtu.be/UESp_Hk2OUg