I've wanted to know how to compare Vector2 and Udim2 values but I have no idea where to begin, I've tried to look it up but all I saw was people converting Vector2 into a Udim2 value, which was NOT what I wanted. Could anyone help? Example: If I wanted to find the distance between the player's mouse and a gui's frame position, how would I go about doing that?

1 comment

0

sorry im not good with UDim2 but maybe you can just do something like Vector2.new(udim2)