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

How does gui layering work?

Asked by
lucas4114 607 Moderation Voter
8 years ago

How does gui layering on roblox work? How to I make one gui go on top of another or one go under without it just being random? I've noticed that sometimes the parent gui of a gui goes under or sometimes over it's children, so it isn't just putting it as a parent to make it go under, or child to be under it, so is it just random?...

1
ZIndex, it's a number from 1 to 10 that allows you to move GUI elements above one another. M39a9am3R 3210 — 8y

1 answer

Log in to vote
1
Answered by
Azmidium 388 Moderation Voter
8 years ago

The ZIndex setting is what you are looking for. Whatever you set the ZIndex to, anything with a ZIndex lower then it will be under that gui and vice versa.

1
Oh, so thats what it's for... Ty! :D lucas4114 607 — 8y
0
Adding on, 1 = Bottom, 10 = Top. JamesLWalker 297 — 8y
Ad

Answer this question