Skip to content

Class · inherits PVAdornment

SelectionSphere

Official docs ↗

Renders a 3D sphere around its Adornee.

About SelectionSphere

SelectionSphere renders a 3D sphere around its Adornee when it is a descendant of the Workspace or anywhere where GUI objects are rendered. The sphere's geometry consists of a ring/outline in addition to a surface. SelectionSphere 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 2

  • SurfaceColor3: Color3Determines the color of the sphere's surface.

    SurfaceColor3 determines the color of the sphere's surface.

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

  • SurfaceTransparency: floatDetermines the transparency of the sphere's surface.

    SurfaceTransparency determines the transparency of the sphere's surface, 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 surface.

SelectionSphere also has every member of PVAdornment. 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.