tap
Simulates the mouse clicking the specified button at the specified location.
Return
Whether or not the mouse click has been successfully simulated.
Parameters
point
The point of where to move the mouse and click.
button
The button index to simulate.
Simulates the mouse clicking the specified button at the specified location.
Return
Whether or not the mouse click has been successfully simulated.
Parameters
x
The point which lies on the x-axis of where to click.
y
The point which lies on the y-axis of where to click.
duration Ms
how long to press for before release