[ enum ] MouseAction

Description:

Enum for mouse actions.
Used with ui.mouseAction(action, button).

Type: number

Properties:

Name Description

Press

Mouse button press.

Release

Mouse button release.

Click

Single click.

DoubleClick

Double click.

VerticalScroll

Vertical wheel scroll.

HorizontalScroll

Horizontal wheel scroll.

Examples:

Performing a mouse click:

ui.mouseAction(MouseAction.Click, MouseButton.Left);

Also See: