Skip to content

SelectionBox

Supported Class World & Effects

Renders a 3D box around its Adornee.

Description

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.

Inheritance

Object → Instance → GuiBase → GuiBase3d → InstanceAdornment → SelectionBox

Nova inheritance: Instance → GuiBase → GuiBase3d → PVAdornment → SelectionBox

Properties

LineThickness Supported Property Determines the thickness of the boxes outlines, in studs.
LineThickness: float

Determines the thickness of the boxes outlines, in studs.

LineThickness determines the thickness of the box's outlines, measured in studs. If set to 0, the outline will not be visible at all.

Roblox documentation

SurfaceColor Supported Property Deprecated A BrickColor version of SurfaceColor3.
SurfaceColor: BrickColor

A BrickColor version of SurfaceColor3.

Nova behaviour: Nova keeps this legacy member for compatibility. Roblox's modern deprecation wording may describe later Roblox behaviour; verify it against Nova before relying on the copied text.

Roblox documentation

SurfaceColor3 Supported Property Determines the color of the box's surfaces.
SurfaceColor3: Color3

SurfaceColor3 determines the color of the box's surfaces.

See also Color3, a property of the superclass GuiBase3d which controls the color of the outline rather than the surface faces.

Roblox documentation

SurfaceTransparency Supported Property Determines the transparency of the box's surfaces.
SurfaceTransparency: float

Determines the transparency of the box's surfaces.

SurfaceTransparency determines the transparency of the box's surfaces, similar to the way BasePart.Transparency works. By default, this property is 1 which causes the surfaces to be invisible.

See also Transparency, a property of the superclass GuiBase3d which controls the transparency of the outline rather than the surfaces.

Roblox documentation

Inherited members

Inherited from PVAdornment: 13 properties, 36 methods, 7 events. They are documented on the base class page.

Roblox reference: SelectionBox

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.