Class
Handles
Places 3D handles around any object that its Adornee
is set to.
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#
FacesFaces | Sets which sides the GUI handles will appear.ReadSafe |
StyleHandlesStyle | Sets the GUI style of the handles.ReadSafe |
Events 5#
| MouseButton1Down | Fired when the left mouse button goes down on one of the GUI handles. |
| MouseButton1Up | Fired when the left mouse button is released on one of the GUI handles. |
| MouseDrag | Fired when the mouse moves while the MouseButton1Down event has fired, but the left mouse button has not been released yet. |
| MouseEnter | Fired when a mouse "enters" the GUI handle. |
| MouseLeave | Fired when the mouse leaves the GUI handle. |
MouseButton1Down(face: NormalId)#
Fired when the left mouse button goes down on one of the GUI handles.
MouseButton1Up(face: NormalId)#
Fired when the left mouse button is released on one of the GUI handles.
MouseDrag(face: NormalId, distance: float)#
Fired when the mouse moves while the MouseButton1Down event has fired, but the left mouse button has not been released yet.
| Name | Type | Default | Description |
|---|---|---|---|
face | NormalId | The NormalId of the face whose handle is being dragged. | |
distance | float | The signed distance, in studs, that the mouse has been dragged along
the handle's axis since Handles.MouseButton1Down fired. |
MouseEnter(face: NormalId)#
Fired when a mouse "enters" the GUI handle.
MouseLeave(face: NormalId)#
Fired when the mouse leaves the GUI handle.
Inherited members#
Inherited from PartAdornment 1
Properties (1)
Inherited from GuiBase3d 4
Properties (4)
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild