powered by
Simulate left, right, and middle mouse clicks.
mouse.click(button = "left", hold = FALSE)
character. Allowed values are "left", "right", and "middle".
"left"
"right"
"middle"
logical. Whether the button should be held down.
mouse.release
if (FALSE) { # left mouse click mouse.click(button = "left") # left mouse click and hold mouse.click(button = "left", hold = TRUE) }
Run the code above in your browser using DataLab