Skip to content

Class · inherits HandleAdornment

BoxHandleAdornment

Official docs ↗

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

About BoxHandleAdornment

BoxHandleAdornment is a box-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 2

  • Shading: AdornShadingDetermines how the box 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 box, using a value of the AdornShading enum. It defaults to Default, which draws the box unlit and occluded by scene geometry like an ordinary world object.

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

  • Size: Vector3Size of the adornment.

    The size of the adornment in studs.

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