Skip to content

Class · inherits HandleAdornment

PyramidHandleAdornment

Official docs ↗

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

About PyramidHandleAdornment

PyramidHandleAdornment is a pyramid-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 4

  • Height: floatHeight of the pyramid adornment.

    The height of the pyramid adornment in studs.

  • Shading: AdornShadingThe AdornShading mode that controls shading and whether the pyramid draws through occluding geometry.

    An AdornShading value that selects the material and render pass used to draw the pyramid. Defaults to Default, which draws the pyramid unlit and occluded by scene geometry like an ordinary world object.

    Shaded and XRayShaded light the pyramid with the scene's lighting instead of drawing it unlit, while XRay and XRayShaded draw the pyramid through geometry that would otherwise occlude it. AlwaysOnTop draws the pyramid 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.

  • Sides: intNumber of sides for the pyramid adornment.

    The number of sides for the pyramid adornment. Default is 4, minimum is 3, and maximum is 32.

  • Size: floatSize of the pyramid adornment's base.

    The size of the pyramid adornment's base in studs.

PyramidHandleAdornment 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.