← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #223258]: How get (x, y) cursor location of mouse click?

 

Question #223258 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/223258

donald_carson123 proposed the following answer:
To catch a mouse click event and use Env.getMouseLocation(), you
typically need to set up a mouse listener in your development
environment. Once the click is detected, you can call
Env.getMouseLocation() to get the cursor’s position at that moment. If
you're experimenting with mouse interactions or want to measure clicking
speed, mycpstest.fr can be a helpful tool to test responsiveness in a
user-friendly way.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.