Class · inherits InstanceAdornment
SelectionBox
Renders a 3D box around its Adornee.
About SelectionBox
SelectionBox renders a 3D box around its Adornee
when it is a descendant of the Workspace or anywhere where GUI objects
are rendered. The box's geometry consists of rectangular prisms forming an
outline/wireframe in addition to a surface for each of its faces.
SelectionBox does not capture any form of input; it is solely a visual
effect.
For an outline/fill overlay effect which covers non‑primitive geometry such as
that of a MeshPart, see Highlight.
Properties 3
LineThickness
: floatDetermines the thickness of the boxes outlines, in studs.LineThicknessdetermines the thickness of the box's outlines, measured in studs. If set to0, the outline will not be visible at all.SurfaceTransparency
: floatDetermines the transparency of the box's surfaces.SurfaceTransparencydetermines the transparency of the box's surfaces, similar to the wayBasePart.Transparencyworks. By default, this property is1which causes the surfaces to be invisible.See also
Transparency, a property of the superclassGuiBase3dwhich controls the transparency of the outline rather than the surfaces.
SelectionBox also has every member of InstanceAdornment. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.