Jump to content
Sign in to follow this  

Need help with Pixel Colors

Recommended Posts


I'm trying to check if this pixel is 0x2E9FA0 or not, then do something.

but the problem is this pixel seems to change constantly(sometimes It become 0x2FA3A4 or something around this) thus making this code useless.

$color5 = PixelGetColor( 1242 , 650 )
If $color5 <> dec("2E9FA0") Then
    Sleep( 2000 )


So, How can i make it more elastic like shade-variation in PixelSearch()?

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.