Im trying to make a micro game where you drag bricks into place to build a wall. Ive been triyng to find out how to make it so if 2 guis are close to eachother (the brick and the brick’s placement location) Ive only been able to find scripts if 2 GUIs are overlapping, but i dont want that. I want to know if 2 GUIs are just close enough to eachother, so the brick has to be close to the center of the destination.
(Frame.AbsolutePosition - Frame2.AbsolutePosition).Magnitude
that will get the distance between them so just figure out what distance best fits