How can i change animation direction?

Hello everyone. How can i make mouse based movement like in this video:

I’m using top-down project. I already did actor rotation to mouse with “Find Look at Rotation” or “wasd” movement etc. But i couldn’t aim based direction movement. How can i change chacacter animation direction?
Thank you!