Jump to content

can PixelSearch look for a second of set colour?

Recommended Posts

Is there a way to make pixelsearch look for the second pixel of a certain colour in an area?

I know that there's already one of this colour, but i'd like to check for a second. is there some way of doing this with PixelSearch, or would i have to do it manually with GetPixelColor, and miss out the one that i know is there?









Pretend that's a square, and i know that dot "y" is black, and the rest are probably white. but, one (or more) of the "x"'s might be black - but i don't know if it is. how can i check for this? (it doesn't matter what coordinates it has) i need a return of 0 if all of the "y" pixels are white, and a return of 1 if any of them are black.

Link to post
Share on other sites

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...