Skip to content

Class · inherits HandlesBase

Handles

Official docs ↗

Places 3D handles around any object that its Adornee is set to.

About Handles

The Handles object places 3D handles around any object that its Adornee is set to; this property must be set to a 3D object for the handles to appear. The color can be changed and the shape of the handles can be set to either arrows or spheres.

For handles to be interactive, they must be parented to a player's PlayerGui or the CoreGui.

Properties 2

  • Faces: FacesSets which sides the GUI handles will appear.
  • Style: HandlesStyleSets the GUI style of the handles.

    Sets the GUI style of the handles. Currently there are only two types: Resize and Movement.

Events 5

  • MouseButton1DownHandles.MouseButton1Down:Connect(function(face))Fired when the left mouse button goes down on one of the GUI handles.
  • MouseButton1UpHandles.MouseButton1Up:Connect(function(face))Fired when the left mouse button is released on one of the GUI handles.
  • MouseDragHandles.MouseDrag:Connect(function(face, distance))Fired when the mouse moves while the MouseButton1Down event has fired, but the left mouse button has not been released yet.
  • MouseEnterHandles.MouseEnter:Connect(function(face))Fired when a mouse "enters" the GUI handle.
  • MouseLeaveHandles.MouseLeave:Connect(function(face))Fired when the mouse leaves the GUI handle.

Handles also has every member of HandlesBase. 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.