How do I fix my player from spinning?

Im making a topdown shooter and whenever I hover over the player with the mouse, he spins standing in his current position. How would I go about fixing this bug?

Go to your Game Objects Rigidbody2d Component. Look for constraints and toggle “freeze rotation”. That should work.