Jump to content

While PixelGetColor(x,y) =


Recommended Posts

The color im looking for is red, and partially transparent. The background changes - so the shade of red isn't always the same. I've used a script to find the decimal colorand have gotten results from 7147797 to 8595244. Because of this I can not simply use While PixelGetColor(x,y) =

I was wondering if you can add some sort of range, like say ...

While PixelGetColor(x,y) = (7800000, 900000)

or anything l.ike that, to make that the middle color, with 90,000 leway.

Thanks for your help.

Link to comment
Share on other sites

The color im looking for is red, and partially transparent. The background changes - so the shade of red isn't always the same. I've used a script to find the decimal colorand have gotten results from 7147797 to 8595244. Because of this I can not simply use While PixelGetColor(x,y) =

I was wondering if you can add some sort of range, like say ...

While PixelGetColor(x,y) = (7800000, 900000)

or anything l.ike that, to make that the middle color, with 90,000 leway.

Thanks for your help.

While PixelGetColor(x,y)> 7100000 AND PixelGetColor(x,y)< 8600000

That will give you a range.

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...