Zindex Issue when Scaling UI

What is the issue?

Well, it appears that when my 2 frames are parented together, the zindex value of the background ( which is lower than the main frame ) doesn’t make it go behind it.

I have tried LayoutOrder, but I realized that it won’t work.
What could I do to fix this?

ZIndex by default is relative to sibling instances, so because the background is inside the main frame, it will be above it.

To fix this, there is a property of ScreenGuis that you want to set to Global, which will make ZIndex work as you’re wanting.

1 Like

Appreciate it a lot. Never knew that existed lol.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.