Page 1 of 1

mouse position

Posted: 05 Jun 2015, 20:47
by wbatman
hi boy
after i have find a image and store coordinate position in a variable, i need click in same position, but with y coordinate -50
it's possible that?
for example if find image tell me 725:560 coordinate, i want click in 725:510

i have try with offset, but is not possible insert negative value

thank's

Re: mouse position

Posted: 09 Jun 2015, 14:06
by Jmgr
Hi dude
Yes, its possible.
Just click on the red triangle on the right of the Offset field to activate the "code" mode (aka Javascript), and enter : new Point(-50, 0)