Function to check gui render order?

Quick question, i was wondering if there was any function provided by roblox to chect if a gui is rendered above or below a different gui, the anwser is probably no but thought it might be worth a shot because there are a lot of places something like this could be… thanks

Look into the LayoutOrder and Zindex properties of GuiObjects. AFAIK there is no built-in function to do this.

Interesting that you say this, because I was introduced to this method the other day. I don’t know if there’s a specific comparative function, but this is a little different than just layoutorder/zindex comparisons if you’re willing to get a little hacky

This returns a list of objects at a position in their render order.

1 Like