Xtian 0 Posted August 11, 2010 (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 ------------ 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 August 11, 2010 by Xtian Sorry for being noob but... thanks to you im learned something new. Share this post Link to post Share on other sites