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

How would you fire an event when on GUI is touched?

Asked by 8 years ago

I've been wondering about this. I was planning on making a game with Undertale mechanics (battle system) and I got caught on GUIs touching one another. I've seen this done multiple times with the good example of Sunder Tale.

I want to know how to detect when Label A hits Label B.

Thanks for any and all help!

1 answer

Log in to vote
1
Answered by
Pyrondon 2089 Game Jam Winner Moderation Voter Community Moderator
8 years ago

Roblox doesn't have anything built in for this, but you can use 2D Collision Detection for it. I haven't used it myself, so I can't tell you too much about it, but it seems like that link will have all you need.

For additional help, go here. Hope this helped.

Ad

Answer this question