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

None.

Remarks

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

Related

MouseClick, MouseClickDrag, MouseGetPos, MouseCoordMode (Option), MouseDown, MouseUp, MouseWheel

Example


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