Glorpia Docs
Instances

BillboardGui

A world-space GUI container parented directly to a BasePart.

Properties

NameTypeDescription
SizeUDim2Canvas size. The default is UDim2.new(0, 200, 0, 100).
StudsOffsetVector3World-space offset from the parent BasePart. The default is Vector3.zero.
ClipDescendantsbooleanClips child GUI objects to the BillboardGui canvas. Default: false.
EnabledbooleanControls whether the BillboardGui and all of its descendants are rendered. Default: true.
AlwaysOnTopbooleanWhen false, world geometry can occlude the BillboardGui. When true, it is drawn above world geometry. Default: false.
MaxDistancenumberMaximum camera distance at which the BillboardGui renders. Default: inf (unlimited).

Hierarchy

Hierarchy parenting is unrestricted. A BillboardGui renders only while directly parented to a Part or SpawnLocation in Workspace. Invalid placements remain in the hierarchy but do not render.

BillboardGui is a world GUI. Its child GUI objects use UDim2 coordinates inside the BillboardGui canvas. Frame, TextLabel and TextButton visuals use the shared Skia 2D renderer for backgrounds, rounded corners, UIGradient and text. UIBlur can blur the local 3D backdrop behind a child GUI object. BillboardGui follows the same AlwaysOnTop rendering rule as SurfaceGui. With AlwaysOnTop set to false it depth-tests against world geometry and participates in 3D BlurEffect/ColourCorrection. With AlwaysOnTop set to true it is composited afterward and bypasses those post effects, while still remaining below ScreenGui. Set MaxDistance to inf for unlimited range.

Example

Luau
local gui = Instance.new("BillboardGui")
gui.Size = UDim2.new(0, 200, 0, 100)
gui.StudsOffset = Vector3.new(0, 3, 0)
gui.ClipDescendants = false
gui.Enabled = true
gui.AlwaysOnTop = false
gui.MaxDistance = inf
gui.Parent = workspace.Part

local label = Instance.new("TextLabel")
label.Text = "Hello Glorpia"
label.Font = Enum.Font.Metropolis
label.FontStyle = Enum.FontStyle.Bold
label.Parent = gui

Copying and cloning

Clone(), Studio Duplicate, Copy and Paste preserve the complete BillboardGui descendant hierarchy and all GUI properties.

Related