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

Is there a way to check if two GUIs are overlapping?

Asked by
KoreanBBQ 301 Moderation Voter
8 years ago

Hello, I'm trying to check if GUIs are over lapping, and if so, make one 1 ZIndex higher than the other.

I'm using this for a Minimap checking for every Part's position and making a GUI of it. I couldn't just say ZIndex=part.Position.Y because ZIndex is 1-10. (really stupid roblox, just make it able to take any value ugh)

So far I have this but it doesn't work

image.ZIndex=math.ceil(posY)
0
In addition, our staff member, CodeTheorem, has an old tutorial on GUI Collision which is still relevant https://www.youtube.com/watch?v=Mon0sjQq4mw FearMeIAmLag 1161 — 8y

Answer this question