mouse_move
mouse_move($dx=0,$dy=0); - this function is used to emulate mouse movement at the hardware level, relative to the current window
The function accepts parameters as input:
$dx – X coordinate for moving the mouse relative to the upper-left corner of the window.
$dy – Y coordinate for moving the mouse relative to the upper-left corner of the window.
After testing, the function returns the result of its work to the script :
true – emulation was done
false – emulation was not successful