# Function Reference

MouseMove

Moves the mouse pointer.

MouseMove ( x, y [, speed] )

Parameters

x | The screen x coordinate to move the mouse to.
y | The screen y coordinate to move the mouse to.
speed | [optional] the speed to move the mouse in the range 1 (fastest) to 100 (slowest). A speed of 0 will move the mouse instantly. Default speed is 10.

Return Value

User mouse movement is hindered during a non-instantaneous MouseMove operation.
If MouseCoordMode is relative positioning, numbers may be negative.

Remarks

None.

Related

MouseClick, MouseClickDrag, MouseGetPos, MouseCoordMode (Option)

Example

MouseMove(10, 100)
MouseMove(700, 700, 0)