Coorelation between part.Orientation?

Ok, thanks for the answer!

I just had one quick question. I could’ve said this earlier, but;
I am basically trying to find out what way a part is rotating.

So, I would want to know when a part is tweening/rotating from -90 to 180 or when a part is rotating from 90 to 180.

What I was planning to do was like: if 180 (newPosition) is 90 (oldPosition) + 90 then - do something

Like, if a part/player/etc. rotates from the left side to orientation 180., like so:
from:

(0,90,0) → (0,180,0)

I can just do:

newPositon = 180
oldPosition = -90

if newPositon > oldPosition then
--rotates from left to center/back
end

but the issue is, that the same result comes if I do this:
newPosition = 180
oldPosion = 90


if newPosition > oldPosition then
--can rotate from left to center/back OR from right to center/back (aka. no way to find out)
end

I hope you guys get what I mean. Thanks!

Edit:
Do I need to do something with math.abs()? @Scottifly @BuilderBob25620