A mouse move action.

interface Move {
    type: "move";
    x: number;
    y: number;
}

Properties

Properties

type: "move"

Specifies the event type. For a move action, this property is always set to move.

x: number

The x-coordinate to move to.

y: number

The y-coordinate to move to.