

Visible : A boolean, if the GUI is visible or not. SizeConstraint : Sets the direction that an object can be resized in. Size : A UDim2 value: Changes the size of the GUI Position : A UDim2 value: Changes the position on of the GUI Name : A string value used to change the name. Opposite of the above.Īctive : A boolean: The GUI is either active or not active (So if a button is not active you can not click it)īackgroundColor3 : A color3 value to change the background color.īackgroundTransparency : A Float value, changes the background transparency.īorderColor3 : A color3 value to change the border's color.īorderSizePixel : Int value used to change the size of the border. A frame's background and border can be edited like all other GUI elements.ĪbsolutePosition : A vector 2 value: The GUI's absolute position as if you use Scale instead of Offset then this will show you its position.ĪbsoluteSize : A vector 2 value: The GUI's absolute size as if you use Offset instead of Scale then this will show you its size. When a frame moves, every element in it moves as well.

These are GUIs that can be created and edited by the player. Your health bar GUI can be edited, but the other core GUIs cannot. Game GUIs cannot be edited because they are locked in the GuiRoot, but fake ones can be added, Such as an oxygen bar when you go underwater, or moving your health bar to another place. If you parent the SurfaceGui or BillboardGui to a part without setting the Adornee, the GUI displays on the part by default.The game GUI includes the Leaderboard, your health bar, the chat interface, your tool's icons, the report button, the window buttons, and the camera view buttons. You must set the Adornee property if you parent a SurfaceGui or BillboardGui to the StarterGui or PlayerGui folder.įor example, if you parent a BillboardGui to Part A, but set the Adornee property to Part B, the GUI displays on Part B. When you set this property, it overrides the parent part's behavior. If you want the object to remain the same size regardless of a player's distance from the object, remove any offset from the Size property. You can customize the content within a BillboardGui to change size depending on how far a player is from the object. Useful for displaying users' names or providing clear map markers. Must always face the camera regardless of the viewing angle. Similar to decals, the GuiObjects face the same direction as the surface they are on, which you can change through the Face property of the SurfaceGui.

A BillboardGui holding a TextLabel which is visible from every angle.ĭisplay on an object's surface in an experience's 3D world.
