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

How to make a GUI go behind another?

Asked by
Mystdar 352 Moderation Voter
9 years ago

Firstly I realize this is not a scripting question, and if the Moderators believe it should be removed, then they of course can remove it.

Is there a way to make a GUI go 'behind' another, like in Microsoft Word you can 'Send to back', is there a way to do this to frames in scripting, or do I have to mess around with parenting? Or is the most recently edited/spawned/cloned one at the front.

2 answers

Log in to vote
1
Answered by 9 years ago

ZIndex, Determines the order in which GUI objects are rendered, with 10 being in front and 1 in back.

0
Example please? Mystdar 352 — 9y
1
Its a setting in things such as frames, textbuttons, textboxes ect. Put to frames in one screen gui and set the Zindex of one frame as 1 and the second frame as 2 or greater, see the result dragonkeeper467 453 — 9y
1
If one GUI's ZIndex is higher then another, the higher one would appear in front of the lower one. alphawolvess 1784 — 9y
Ad
Log in to vote
1
Answered by
Goulstem 8144 Badge of Merit Moderation Voter Administrator Community Moderator
9 years ago

The most recently added gui will always be the one on top

So, if you want to have one on the bottom you should parent it into the gui last.

0
Any way to bypass this? Mystdar 352 — 9y
1
Not that I know of. There may be a plugin for dragging guis. Goulstem 8144 — 9y
0
Thanks, may I suggest looking at the other answer, I think you might find it informative as well Mystdar 352 — 9y

Answer this question