Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to compare Vector2 and Udim2 OR convert Udim2 into a Vector2 value?

Asked by 4 years ago

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?

0
sorry im not good with UDim2 but maybe you can just do something like Vector2.new(udim2) HappyTimIsHim 652 — 4y

Answer this question