By using this site you agree to the use of cookies.

Learn more

Share via:

AutoIt MouseMove Function

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

Edited: 2017-03-25 02:31

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

Parameters

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)