Skip to content

Lupa API Reference / commands / Point

Interface: Point ​

Defined in: src/commands/mouse.ts:6

Represents a point in 2D space, compatible with DOMPoint and DOMPointInit.

Properties ​

x ​

x: number

Defined in: src/commands/mouse.ts:10

The X coordinate.


y ​

y: number

Defined in: src/commands/mouse.ts:15

The Y coordinate.