cursorDriver
cursorDriver(
target):object
Turns the screen’s cursor messages into events on a target: moves, presses (OK down) and releases (OK up, then a click). cancel(): the cursor stops (a pause, a break, a turn) while OK is held: pointercancel and mouseup, no click.
Parameters
Section titled “Parameters”target
Section titled “target”Returns
Section titled “Returns”object
update()
Section titled “update()”update(
c):void
Parameters
Section titled “Parameters”number
number
boolean
Returns
Section titled “Returns”void
cancel()
Section titled “cancel()”cancel():
void
Returns
Section titled “Returns”void