New ScreenGui Property, DisplayOrder

This property controls the order that ScreenGuis are drawn and process input in. Screen Guis with a higher display order will be drawn on top of those with a lower display order. ChildOrder will still be used to order ScreenGuis with the same DisplayOrder. For example, if you have 2 ScreenGuis with DisplayOrder 5, the one parented last will be drawn on top.

The minimum DisplayOrder is 0 and the maximum is 10. The default display order is 0. The default Roblox chat GUI will be at DisplayOrder 6 in the near future.

46 Likes

Any reason we still have this type of limitation? 10 seems a bit odd compared to 7 (3 bit number) or 15 (4 bit number), assuming it is a RAM issue.

5 Likes

Wasn’t it something related to “Z-Index buffering/layering” during rendering?

1 Like

The limit will likely be removed from ZIndex soon, and it will probably be removed from DisplayOrder at the same time.

29 Likes

ZIndex limit removal!?! I’m already pumped!

18 Likes

This has to be one of the best announcements I’ve heard yet regarding GUIs!

3 Likes

This feature had to be turned off temporarily as it may have been related to a crash.

7 Likes

Any ETA when this is turned back on? Since this feature has been disabled, my ScreenGuis are ordered weirdly, not sure if it’s worth fixing this in my game with more duct tape.

Give them a week or two.

1 Like

We have been able to reliably reproduce the crash but don’t have a fix yet. Hopefully we will be able to get a fix shipped in 1 or 2 weeks.

5 Likes

I have submitted a fix for this, we should hopefully be able to turn this back on soon.

13 Likes

Any news regarding this feature? :stuck_out_tongue:

2 Likes

The fix for this is releasing on PC and Mac today. Hopefully it will be live on mobile soon after that and I will be able to turn this back on.

8 Likes

Nothing on this yet?

3 Likes

This has been re-enabled, sorry for the delay.

9 Likes