Handles

Show Deprecated

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

The Handles object places 3D handles around any object that its Adornee is set to. The Adornee 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.

Summary

Properties

Sets which sides the GUI handles will appear.

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

Events


Fired when the left mouse button goes down on one of the GUI handles.


Fired when the left mouse button is released on one of the GUI handles.

MouseDrag(face: NormalId, distance: number): RBXScriptSignal  

Fired when the mouse moves while the MouseButton1Down event has fired, but the left mouse button has not been released yet.


Fired when a mouse "enters" the GUI handle.


Fired when the mouse leaves the GUI handle.

Methods

Properties

Faces

Sets which sides the GUI handles will appear.

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

Events

MouseButton1Down

Fired when the left mouse button goes down on one of the GUI handles.

Parameters

face: NormalId

MouseButton1Up

Fired when the left mouse button is released on one of the GUI handles.

Parameters

face: NormalId

MouseDrag

Fired when the mouse moves while the MouseButton1Down event has fired, but the left mouse button has not been released yet.

Parameters

face: NormalId
distance: number

MouseEnter

Fired when a mouse "enters" the GUI handle.

Parameters

face: NormalId

MouseLeave

Fired when the mouse leaves the GUI handle.

Parameters

face: NormalId

Methods