@ahmic/autoit-js
    Preparing search index...

    Function MouseMove

    • Moves the mouse pointer to a specified location on the screen.

      Parameters

      • x: number

        The x-coordinate to move the mouse to.

      • y: number

        The y-coordinate to move the mouse to.

      • speed: number = -1

        Optional speed of the mouse movement (1 is slow, 100 is fast, -1 is instant).

      Returns number

      1 if successful, 0 otherwise.

      import { MouseMove } from '@ahmic/autoit-js';

      MouseMove(100, 200, 50);