New question #225412 on Sikuli:
https://answers.launchpad.net/sikuli/+question/225412

Hey guys,

Ok I have a script for a game which is a 2.5D game. I am harvesting some wheat, 
which i have coded myself, easily enough. 

Now my problem is that when it clicks on one wheat it harvest it and when it 
goes to click on another wheat it selects a random wheat on the map. I would 
like it to select the wheat that is already closest to the mouse to reduce the 
time of my character running.

Is there a mouse location script to find location of my mouse and then run my 
while loop again to select the closet wheat to my character?

I hope this all makes sense.

-Caleb

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to