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)

2 comments
Use the wiki before asking! http://wiki.roblox.com/index.php?title=GUI_Collision_Tutorial http://wiki.roblox.com/index.php?title=Collision_detection_for_GUI%27s
In addition, our staff member, CodeTheorem, has an old tutorial on GUI Collision which is still relevant https://www.youtube.com/watch?v=Mon0sjQq4mw