Rotation

How do you make a character rotate according to where the mouse is. I need it to look like a mc is “looking” at the cursor