BoxHandleAdornment
Draw a wireframe box around a part.
BoxHandleAdornment draws a green wireframe box that follows a target part. It's a lightweight way to highlight a part's bounds.
Getting started
local box = Instance.new("BoxHandleAdornment")
box.Adornee = targetPart
box.Parent = targetPartProperties
| Property | Type | Access | Description |
|---|---|---|---|
Adornee | Instance? | Read/write | Part to outline. Falls back to the adornment's parent. |
The box is drawn slightly larger than the part (0.05 studs of padding on each axis) and uses a fixed green wire color.
Notes
- Inherits from
ValueBase, which adds no members. - If
Adorneeisnil, the parent is used, and the parent must be aPart. - The adornment has no effect when the target isn't a part or isn't in the rendered world.
- Cloning copies the adornment target.
See also
SphereHandleAdornmentandLineHandleAdornmentfor other shapes.Highlightfor a solid outline effect.
