Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

What is GuiCollision?

Asked by
dyler3 1510 Moderation Voter
10 years ago

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

1 answer

Log in to vote
2
Answered by 10 years ago

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.

Ad

Answer this question