powered by
Simulate left and right button of mouse clicks.
mouse.click(button = "left", hold = FALSE)
character. Allowed values are "left" and "right".
left
right
logical. Whether the button should be held down.
mouse.release
# NOT RUN { # 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