Skip to content

Lupa API Reference / commands / MouseMoveOptions

Interface: MouseMoveOptions

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

Options for moving the mouse.

Properties

button?

optional button?: "right" | "left" | "middle"

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

The mouse button pressed during movement. If specified, the button is pressed down before moving and released after (i.e. dragging).


steps?

optional steps?: number

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

Number of intermediate steps to emit.