GuiObject is touching another GuiObject?

I’ve been experimenting with GUIs to try and make a platformer, but I can’t seem to figure out how to make a detector to see if a frame is touching another frame.
Something like this:
image
I’ve tried making a magnitude detection method with AbsolutePosition but it isn’t quite right.
How would I do it?

1 Like

There is an article on 2D collision detection that might be useful for you. https://developer.roblox.com/articles/2D-Collision-Detection

4 Likes

I tried searching for this, but nothing came up. Thank you!

1 Like

The wiki is broken, what do I do now.

1 Like

You look for other solutions or wait for the Developer Hub to be repaired.

1 Like

EgoMoose has this neat collision detection tutorial if you want to take a look: https://www.youtube.com/watch?v=IELWpIGtjRg

2 Likes