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

Is there differences with natural ZIndexes?

Asked by 9 years ago

Okay I'm getting tripped up here. I thought GUI's overlayed themselves in declaration order. Heres a scenario

In this order these GUI's are made. BackgroundA (An ImageLabel) w/ ZIndex 1 BackgroundB(A TextBox) w/ ZIndex 1 and Main (an ImageButton) w/ZIndex1

Yet Background B gets on top of main. Is there any reason in particular this can happen?

0
What are their parents? It's important to note that descendants will always have a "higher natural ZIndex" than their parents. dyler3 1510 — 9y

1 answer

Log in to vote
2
Answered by 9 years ago

Descendants will appear in front of their parents, but GUIs are sorted oddly. Take a look at this for more info: Anaminus - On The Order of Roblox Guis

0
Thank you-- the Class Priority of GUI's was screwing me up randomsmileyface 375 — 9y
Ad

Answer this question