SphereHandleAdornment
Draw a wireframe sphere at a part.
SphereHandleAdornment draws a sphere centered on its target part. Use it to mark a radius or a point of interest.
Getting started
local sphere = Instance.new("SphereHandleAdornment")
sphere.Adornee = targetPart
sphere.Radius = 6
sphere.Color3 = Color3.fromRGB(80, 200, 255)
sphere.Parent = targetPartProperties
| Property | Type | Access | Default | Description |
|---|---|---|---|---|
Adornee | Instance? | Read/write | nil | Part to center on. Falls back to the parent. |
Color3 | Color3 | Read/write | Green | Wire color. |
Radius | number | Read/write | 1 | Sphere radius in studs. |
Notes
- Inherits from
ValueBase, which adds no members. - The sphere is centered on the part's position, not on its bounding box.
- If
Adorneeisnil, the parent is used, and the parent must be aPart. - Cloning copies the target, color, and radius.
See also
BoxHandleAdornmentandCylinderHandleAdornmentfor other shapes.Attachmentfor a visible point marker.
