Share via:

AutoIt MouseMove Function

The MouseMove function moves the mouse pointer to the specified coordinates.


Edited: 2019-09-11 16:25

The AutoIt MouseMove Function can be used to move the pointer around on the screen.


The MouseMove function takes three parameters, the two first are the x and y position wheres to move the pointer, the third is the movement speed.

pixelsThe (x) position from the left in pixels.
pixelsThe (y) position from the top in pixels.
0-100The movement speed between 1-100, a value of 0 will move the mouse instantly.

AutoIt MouseMove Example

MouseMove(10, 200) ; Left-Top (X and Y)