Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How does gui layering work?

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 comment

1

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

1 answer

✓ Accepted answer

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.

2 comments

1

Oh, so thats what it's for... Ty! :D

0

Adding on, 1 = Bottom, 10 = Top.

This discussion is preserved as it was. New answers, comments, and votes are closed.