I want to make a JavaScript program simulate a mouse click wherever the mouse is on a timed interval. I know of the
if(mouseIsPressed)
and the
if(mouseDown)
commands, but are there any commands that make my mouse automatically click, some kind of forceMouseDown command maybe?