Roblox UtilitiesDevlHub Roblox Documentation

Class

SelectionSphere

Inherits
PVAdornment › GuiBase3d › GuiBase › Instance › Object
Memory category
Instances

Renders a 3D sphere around its Adornee.

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 3#

SurfaceColorBrickColorA BrickColor version of SurfaceColor3.ReadSafeDeprecatedHiddenNotReplicated
SurfaceColor3Color3Determines the color of the sphere's surface.ReadSafe
SurfaceTransparencyfloatDetermines the transparency of the sphere's surface.ReadSafe

SurfaceColor: BrickColor#

HiddenNotReplicatedDeprecatedReadSafeDeprecated

Deprecated. This property is deprecated in favor of SurfaceColor3 which uses the more precise Color3 data type instead of a BrickColor used by this property.

A BrickColor version of SurfaceColor3.

SurfaceColor3: Color3#

ReadSafe

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: float#

ReadSafe

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.

Inherited members#

Inherited from PVAdornment 1
Properties (1)

Adornee

Inherited from GuiBase3d 4
Properties (4)

Color, Color3, Transparency, Visible

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed