Jump to content

Recommended Posts

Posted (edited)

Hi again,

I'm working on a code to locate colors and if the color is found the mouse will move there and so on.

The problem is it always detect the nearest color in the given coordinates.

example:

There are 3 red dots and i want to randomly click the 3 red dots or click all the red dots.

how do i make it work?

how do i click the 3 red dots in the area coz im stuck with the first dot?

pixelsearch(0,0,500,500,0xff0000)

Help :blink:

------------

I figured it out while reading my code again and again.. ;)

I would like to delete this post but i can't so sorry for the trouble.

Edited by Xtian
Sorry for being noob but... thanks to you im learned something new.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...