animations

1. How do i make an animation change according to which way the mouse is pointing?
2. how do i make an actor change animations depending on what direction it is going?
Thanks for your support
2. how do i make an actor change animations depending on what direction it is going?
Thanks for your support