ConeHandleAdornment
Draw a cone at a part with a custom transform.
ConeHandleAdornment draws a wireframe cone. Its position and orientation come from CFrame, while Height and Radius set the shape.
Getting started
local cone = Instance.new("ConeHandleAdornment")
cone.Adornee = targetPart
cone.CFrame = CFrame.new(0, 5, 0)
cone.Height = 4
cone.Radius = 2
cone.Color3 = Color3.fromRGB(255, 180, 60)
cone.Parent = targetPartProperties
| Property | Type | Access | Default | Description |
|---|---|---|---|---|
Adornee | Instance? | Read/write | nil | Part that provides the reference transform. |
Color3 | Color3 | Read/write | Green | Wire color. |
Height | number | Read/write | 1 | Cone height in studs. |
Radius | number | Read/write | 0.5 | Base radius in studs. |
CFrame | CFrame | Read/write | Identity | Placement relative to the target part. |
Notes
- Inherits from
ValueBase, which adds no members. - If
Adorneeisnil, the parent is used, and the parent must be aPart. - The cone origin follows the part transform combined with
CFrame. - Cloning copies the target, color, dimensions, and transform.
See also
CylinderHandleAdornmentfor a tube or disc.SphereHandleAdornmentfor a point marker.
