FakeMouseComp:
The fakeMouse component.
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.