Need help rotating 2d sprite

Hi am having trouble rotating a 2d sprite with my mouse. I’ve it working atm but the sprite rotates in a 360 motion. This leads to weird visual glitches. I’ve tired applying constants but they didn’t seem to do anything. Would appreciate any help ty -cheers

forgot to upload screen shots lol

please can someone help?