The short answer is yes. What you’re talking about is the difference between Object and World Space. I’m not sure if there’s a better way, but I’d say the easiest way would be to use CFrame for this as it has built-in object-space manipulation. But you’d have to convert between UDim2 and CFrame.
I was referring to using CFrame to determine the relative offset of the frame. You can use CFrame for more than just moving parts around. You’d just use only the X and Y axis, for example.
I actually did just that to calculate the adaptive ring menu for a project a long time ago: