I'm quite stupid, and I'm making a small pygame game that requires the player to move and rotate towards the mouse, one in a confined or unconfined area. For, now, just give the solution for the rotation, and if you can solve the other part, Thanks in advance!
I tried to get the mouse pos, and then try to find a command that can self-initiate the process, but obviously, didn't work.