How to get mouse to click

Sorry, I’m pretty new to coding, so I don’t know much. I was wondering if it’s possible to use processing to click your mouse like an auto clicker. From what I’ve seen it’s either impossible or extrememely easy:). Thank-you

processing see only mouse click inside its own canvas
also is by JAVA for security reasons the possibility to operate other programs limited…

for my understanding a
auto clicker is a program what emulates mouse clicks on other windows ( programs )
or at specific screen pix.

  • processing has access only to its own canvas ( size() )

also it would mean that you NOT click your mouse as that program does it for you,

  • so your wording might indicate that you have a other understanding

but as this here is about learning processing,
start with a short sketch following

and post your code if you have further questions

1 Like
2 Likes