Getting exact coordinates from Env.getMouseLocation()

Asked by stewazy

Hello it's me again. I have a question, how can i get x and y coordinates of mouse pointer when i do for example

location = Env.getMouseLocation()

i need to use the y coordinate to increment it and then to pass it in a click() function alongside unchanged x value.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
stewazy
Solved:
Last query:
Last reply:
Revision history for this message
stewazy (stewazy) said :
#1

xLoc = Env.getMouseLocation().getX()
    yLoc = Env.getMouseLocation().getY()

I'm sry xD

Revision history for this message
RaiMan (raimund-hocke) said :
#2

no need to be sorry:
it took only seven minutes from question send to answer send. that's ok ;-)

keep on running