How do I make my player sprite point at the mouse? Originally I used the equation atan((mousey-playery)/(mousex-playerx)). I looked on the internet, and this equation is supposed to return the angle of the player, in degrees. I was then planning on putting the result in for the player.SetRotation. However, this doesn't return the angle, just a weird decimal negative number. What should I do?