# SelectionSphere

Roblox Engine API class from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- Inherits from, nearest first: [PVAdornment](https://rapi.sleaze.dev/classes/PVAdornment.md), [GuiBase3d](https://rapi.sleaze.dev/classes/GuiBase3d.md), [GuiBase](https://rapi.sleaze.dev/classes/GuiBase.md), [Instance](https://rapi.sleaze.dev/classes/Instance.md), [Object](https://rapi.sleaze.dev/classes/Object.md)
- Memory category: Instances
- HTML page: https://rapi.sleaze.dev/classes/SelectionSphere/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/classes/SelectionSphere

Renders a 3D sphere around its [`Adornee`](https://rapi.sleaze.dev/classes/PVAdornment.md).

## Properties

### SurfaceColor3

```luau
SelectionSphere.SurfaceColor3: Color3 = Color3.new(0.0509804, 0.411765, 0.67451)
```

- Tags: Read capabilities: Basic + UI

Determines the color of the sphere's surface.

### SurfaceTransparency

```luau
SelectionSphere.SurfaceTransparency: number = 1
```

- Tags: Read capabilities: Basic + UI

Determines the transparency of the sphere's surface.

### SurfaceColor

```luau
SelectionSphere.SurfaceColor: BrickColor
```

- Tags: Deprecated, Hidden, Not replicated, Read capabilities: Basic + UI, Load only
- Use instead: [`SelectionSphere.SurfaceColor3`](https://rapi.sleaze.dev/classes/SelectionSphere.md)

**Deprecated:** This property is deprecated in favor of [`SurfaceColor3`](https://rapi.sleaze.dev/classes/SelectionSphere.md) which uses the more precise [`Color3`](https://rapi.sleaze.dev/index/types/Color3.md) data type instead of a [`BrickColor`](https://rapi.sleaze.dev/index/types/BrickColor.md) used by this property.

A [`BrickColor`](https://rapi.sleaze.dev/index/types/BrickColor.md) version of [`SurfaceColor3`](https://rapi.sleaze.dev/classes/SelectionSphere.md).

## Inherited members

- From [PVAdornment](https://rapi.sleaze.dev/classes/PVAdornment.md): `Adornee`
- From [GuiBase3d](https://rapi.sleaze.dev/classes/GuiBase3d.md): `Color3`, `Transparency`, `Color`, `Visible`
- From [Instance](https://rapi.sleaze.dev/classes/Instance.md): `Archivable`, `archivable`, `Attributes`, `AttributesReplicate`, `AttributesSerialize`, `HistoryId`, `Name`, `Parent`, `PredictionMode`, `PropertyStatusStudio`, `RobloxLocked`, `SerializedOverrides`, `SourceAssetId`, `Tags`, `UniqueId`, `numExpectedDirectChildren`, `DataCost`, `Capabilities`, `DefinesCapabilities`, `IsInSandbox`, `Sandboxed`, `AddTag`, `ClearAllChildren`, `Clone`, `Destroy`, `FindFirstAncestor`, `FindFirstAncestorOfClass`, `FindFirstAncestorWhichIsA`, `FindFirstChild`, `FindFirstChildOfClass`, `FindFirstChildWhichIsA`, `FindFirstDescendant`, `GetActor`, `GetAttribute`, `GetAttributeChangedSignal`, `GetAttributes`, `GetChildren`, `GetDebugId`, `GetDescendants`, `GetFullName`, `GetStyled`, `GetStyledPropertyChangedSignal`, `GetTags`, `HasTag`, `IsAncestorOf`, `IsDescendantOf`, `IsPropertyModified`, `QueryDescendants`, `RemoveTag`, `ResetPropertyToDefault`, `SetAttribute`, `WaitForChild`, `Remove`, `children`, `clone`, `destroy`, `findFirstChild`, `getChildren`, `isDescendantOf`, `remove`, `AncestryChanged`, `AttributeChanged`, `ChildAdded`, `ChildRemoved`, `DescendantAdded`, `DescendantRemoving`, `Destroying`, `StyledPropertiesChanged`, `childAdded`
- From [Object](https://rapi.sleaze.dev/classes/Object.md): `ClassName`, `className`, `GetPropertyChangedSignal`, `IsA`, `isA`, `Changed`
