Skip to Content
Kinemium

CylinderHandleAdornment

Draw a wireframe cylinder or tube at a part.

CylinderHandleAdornment draws a cylinder, optionally hollow. Set InnerRadius above zero to turn it into a tube.

Getting started

local cylinder = Instance.new("CylinderHandleAdornment")
cylinder.Adornee = targetPart
cylinder.Height = 8
cylinder.Radius = 3
cylinder.InnerRadius = 2
cylinder.Transparency = 0.25
cylinder.Parent = targetPart

Properties

PropertyTypeAccessDefaultDescription
AdorneeInstance?Read/writenilPart that provides the reference transform.
Color3Color3Read/writeGreenWire color.
TransparencynumberRead/write0Transparency, clamped to 0 through 1.
HeightnumberRead/write1Cylinder height in studs.
RadiusnumberRead/write1Outer radius in studs.
InnerRadiusnumberRead/write0Inner radius for a hollow tube.
CFrameCFrameRead/writeIdentityPlacement relative to the target part.

Notes

  • Inherits from ValueBase, which adds no members.
  • InnerRadius of 0 gives a solid cylinder. A value at or above Radius leaves no wall to draw.
  • If Adornee is nil, the parent is used, and the parent must be a Part.
  • Cloning copies the target, color, dimensions, and transform.

See also

  • ConeHandleAdornment for a tapered shape.
  • LineHandleAdornment for a simple line.

On this page