Jump to content

Recognising colour after using pixelgetcolor


Recommended Posts

Hey guys,

Once I have used the pixelgetcolor function to get a particular pixel color, how do I then script this in to make it useful.

For instance, if I do this:

$colour1 = PixelGetColor ( 875 , 140 )

to get a pixel colour, is it then possible for me to do something like this:

If $colour1 = red, then do this, if $colour1 = not red, then doing that.

Hope that makes sense!

Cheers

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...