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

How can you make a Frame beneath other Guis?

Asked by
iVmk3 -143
4 years ago

The frame is covering the entire screen but I want it to be beneath the other Guis so I can see the other Guis. Sort of like a background to cover the screen.

0
This isn't a scripting problem... Fl3eandFlo3e 18 — 4y

3 answers

Log in to vote
0
Answered by
Ziffixture 6913 Moderation Voter Community Moderator
4 years ago
Edited 4 years ago

You can use the ZIndex property. The higher this number is the greater the overlap priority it contains. Ensure this property is at 0 to give it an inferior placement; that will place it underneath all other GUI Instances.

Ad
Log in to vote
0
Answered by
Despayr 505 Moderation Voter
4 years ago

Gui Objects like Frames, Text Labels, Text Buttons etc have a property called 'Z Index'.

Gui Objects are in front, or behind, depending on this property. The Higher the index, the closer it is to the top.

Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

ZIndex is weird, so the other methods above might not work like you want them to. If all of your guis are parented at the same time in the same place, no problem. Use ZIndex. But if you are parenting a gui from another location into the player's gui, zindex will work in order of when the objects were parented.

Answer this question