Handles

非推奨を表示

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.

概要

プロパティ

  • 並列読み取り

    Sets which sides the GUI handles will appear.

  • 並列読み取り

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

PartAdornment から継承した プロパティGuiBase3d から継承した プロパティ
  • 並列読み取り

    Sets the color of a GUI object.

  • 並列読み取り

    Sets the transparency of a GUI object, where 1 is invisible and 0 is completely visible.

  • 並列読み取り

    Determines whether the object and its descendants will be displayed.

イベント

プロパティ

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.

方法

イベント

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.

パラメータ

distance: number

MouseEnter

Fired when a mouse "enters" the GUI handle.

パラメータ


MouseLeave

Fired when the mouse leaves the GUI handle.

パラメータ