Convert Angle to Degrees (not in negative degrees)

Hi there,

I’m not good at Math so pardon my “noobness” but when my object rotates past 180 degrees via MouseX and MouseY, it turns back into negative/reverse degrees. How can I make it rotate normally in degrees like 0~45~90~135~180~225~270~315~360 and back to 0 instead of going on and on?

Sample project file:

Thank you in advance.

if <0 add 360, so always positive

1 Like

Thank you very much!