Combines properties of MouseMovableOption and MouseScrollOption.

interface MouseMoveAndScrollOption {
    amount?: number;
    space?: ScreenPositionSpace;
    tick?: number;
    x: number;
    y: number;
}

Hierarchy (view full)

Properties

Properties

amount?: number

The amount of scrolling, cannot be negative.

The position space for the mouse action.

tick?: number

The number of ticks for scrolling, cannot be negative.

x: number

The x-coordinate for the mouse position.

y: number

The y-coordinate for the mouse position.