I am currently making a recreation of a part of an existing game outside of roblox and in the title screen you control a GUI with wasd keys, and I want to know if there is a way to detect if the GUI you're controlling touches another GUI to make something happen to the GUI you're touching.
COMMUNITY QUESTION
How do you detect if a GUI is touching another GUI?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

5 comments
As far as I'm concerned, there's no inbuilt method to detect collisions between GUI instances. However I remember reading a very interesting article at the roblox wiki which addresses this issue very nicely, providing a working code at the end of it to detect said collisions (even taking into account rotated GUIs!). I'm going to search for it and when I find it I will let you know.
Alright. I've got plenty of time to wait.
I carry bad news, after some extensive research through my bookmarks I found the source to the article; unfortunatly it appears to have been removed when the roblox wiki was redesigned. The former link to it was http://wiki.roblox.com/index.php?title=Collision_detection_for_GUIs
If its of any help, here Merely provides a code for detecting collisions between guis, however it does not work for rotated ones https://scriptinghelpers.org/questions/10708/can-anyone-explain-gui-collisions-because-roblox-wiki-does-a-poor-job-of-explaining
None of my GUI's are rotated, so I'm in luck.