mouse_left_up
mouse_left_up($dx=0,$dy=0); - this function is used to emulate pressing the left mouse button at the hardware level, relative to the current window
The function accepts parameters as input:
$dx – X coordinate for moving and pressing the left mouse button, relative to the upper-left corner of the window.
$dy – Y coordinate for moving and pressing the left mouse button, 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