MetaAxis
(MetaAxis)
#1
You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? I wan’t to check the distance between 2 guis.
-
What is the issue? I don’t know how to create the line of code.
-
What solutions have you tried so far? I looked everywhere on the devforum, and attempted to use magnitude method.
Have you tried calculating the difference between AbsolutePosition of gui A and AbsolutePosition of gui B?
MetaAxis
(MetaAxis)
#3
I have, but I don’t know how to actually mathematically calculate the distance.
kylerzong
(kylerzong)
#4
(Frame.AbsolutePosition - Frame2.AbsolutePosition).Magnitude
GuiDistance.rbxl (23.3 KB)