Sign in to follow this  
Followers 0
StripedTie

While PixelGetColor(x,y) =

3 posts in this topic

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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Thanks !!

Share this post


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
Sign in to follow this  
Followers 0