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

Is there a way to position GUIs behind and in front of each other?

Asked by
neoG457 315 Moderation Voter
8 years ago

I'm trying to make a health bar but I need a Frame to be positioned BEHIND an Image Label. I can do it in studio but whenever I play the game it breaks and the Frame is in front of the Image Label. Please help me with this.

1 answer

Log in to vote
5
Answered by
RoyMer 301 Moderation Voter
8 years ago

By changing their ZIndex from their properties:

Definition of ZIndex from the wiki.roblox.com: "Determines the order in which GUI objects are rendered, with 10 being in front and 1 in back"

Ad

Answer this question