Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

What is GuiCollision?

I saw a previous post about GuiCollison, and I was wondering if anyone could help explain it to me. Thanks!

1 answer

✓ Accepted answer

Gui Collision is a scripting method used by advanced Gui scripters and creators. Guis can tween, or slide, around the screen to reach a desired position. While these Guis are moving, they may slide behind/in front of other Guis. Using Gui Collision, you can detect when a Gui touches another one. Let's say you are making Flappy Bird, you can detect when the bird crashes into the pipes and then run a section of code to run the death function or whatever you choose to run. It is highly recommended to get the code off of the wiki because it will be very difficult to script it on your own unless you really know what you're doing.

This discussion is preserved as it was. New answers, comments, and votes are closed.