Is it possible for children of gui objects to be drawn on the bottom of the parent?

Ok, let’s say i have a frame (FRAME A), and another frame (FRAME B) and A is the parent of B. Is there a way such that B is drawn before frame A? I have tried fiddeling with Z-Indexes, but to no avail. For my reasons, A MUST be the parent of B.

image

As you can see, the transparent clone (B) of A is drawn on top even though the Z-index is lower than that of A.

2 Likes

Have you made sure that your ScreenGui’s ZIndexBehavior property is set to Global?

I didn’t even know that property existed, thanks!
One quick question, if a and b have the same z-index, will the ZIndexBehavior behave like sibling?

Yes. As long as B’s ZIndex is greater than or equal to parent object A’s ZIndex, it should always render above it.

1 Like