Miliastra Wonderland Lua API

Enum.CursorEventType

Fields8

CursorEventType.CursorClick : EnumItem.CursorEventType

Triggered when both CursorDown and CursorUp are triggered without leaving the bounding box of the Client Control.

CursorEventType.CursorUp : EnumItem.CursorEventType

Triggered when the primary cursor button is released.

CursorEventType.CursorDown : EnumItem.CursorEventType

Triggered when the primary cursor button is pressed.

CursorEventType.CursorBeginDrag : EnumItem.CursorEventType

Triggered the instant the first movement is made after the primary cursor button is held down.

CursorEventType.CursorDrag : EnumItem.CursorEventType

Triggered when the primary cursor button is held down and the cursor moved since the last frame.

CursorEventType.CursorEndDrag : EnumItem.CursorEventType

Triggered the instant the primary cursor button is released while dragging.

CursorEventType.CursorEnter : EnumItem.CursorEventType

Triggered when the cursor enters the bounding box of the Client Control.

CursorEventType.CursorExit : EnumItem.CursorEventType

Triggered when the cursor exits the bounding box of the Client Control.