Skip to content

Class · inherits HandleAdornment

CylinderHandleAdornment

Official docs ↗

A cylinder-shaped handle that can be adorned to a BasePart.

About CylinderHandleAdornment

CylinderHandleAdornment is a cylinder-shaped handle that can be adorned to a BasePart. If parented to a player's PlayerGui or the CoreGui, handles can listen to input events for purposes such as making dragger tools.

Properties 5

  • Angle: floatAngle of the cylinder handle as in a "pie slice" sector.

    The angle of the cylinder handle as in a "pie slice" sector. For example, if set to 90, a quarter cylinder will render instead of a full cylinder. This property can be combined with InnerRadius to render a sector of a hollow cylinder.

  • Height: floatHeight of the cylinder adornment.

    The height of the cylinder adornment in studs.

  • InnerRadius: floatInner radius with which to render a hollow cylinder.

    The inner radius with which to render a hollow cylinder, in studs. For example, if Radius is 2 and InnerRadius is 1, the adornment will be a hollow cylinder with a "wall thickness" of 1 stud. This property can be combined with Angle to render a sector of a hollow cylinder.

  • Radius: floatRadius of the cylinder adornment.

    The radius of the cylinder adornment in studs.

  • Shading: AdornShadingDetermines how the cylinder adornment is shaded and whether it draws through geometry that would otherwise occlude it.

    Shading selects the material and render pass used to draw the cylinder, using a value of the AdornShading enum. It defaults to Default, which draws the cylinder unlit and occluded by scene geometry like an ordinary world object.

    Shaded and XRayShaded light the cylinder with the scene's lighting instead of drawing it unlit, while XRay and XRayShaded draw the cylinder through geometry that would otherwise occlude it. AlwaysOnTop draws the cylinder on top of everything else with no depth testing.

    The legacy HandleAdornment.AlwaysOnTop property only takes effect while Shading is Default; any other Shading value determines the render pass on its own.

CylinderHandleAdornment also has every member of HandleAdornment. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.