Interface

FakeMouseComp

:

The fakeMouse component.

get

isPressed

(): boolean

Whether the fake mouse is pressed.

press

(): void

Trigger press (onClick).

release

(): void

Trigger release.

onPress

(action: () => void): void

Register an event that runs when the fake mouse performs a click.

onRelease

(action: () => void): void

Register an event that runs when the fake mouse releases.

kaplay logo

Layer

Miscalenous