Character follow mouse

Hi
Im making a 2d game where I want that my player follow the mouse.
But I’m not able play animations and i don’t know how to flip sprite 180degree
When it’s moving in opposite direction

This is how you find the mouse current location (IMAGE 1)

This is how you flip the sprite based on mouse current location (IMAGE 2)

Thankyou so much it worked

You are welcome. Happy to help!