Rotate towards mouse

Hello, I am trying to rotate my player towards the position of my mouse, but the backside of the player is always rotated towards the mouse. Please help ASAP.

If it’s the backside try to flip the player

Try to edit the sprite points (center, collisions, etc.) until you get what you want. I imagine you are using mouse.X and mouse.Y for the position