Skip to content

PointerTarget

Where the pointer adapter sends its moves and clicks.

size(): object

Screen size in px.

object

width: number

height: number


move(x, y): void

The hand moved to x, y (px).

number

number

void


click(x, y): void

The hand stayed still long enough at x, y (px): a click.

number

number

void


cursor(x, y, progress): void

Draws the hand: progress 0–1 while it stays still, to show the click coming.

number

number

number

void