Skip to content

Class · inherits HandleAdornment

SphereHandleAdornment

Official docs ↗

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

About SphereHandleAdornment

SphereHandleAdornment is a sphere-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

  • Radius: floatRadius of the sphere adornment.

    The radius of the sphere adornment in studs.

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

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

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

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