SetTimer, checkcolor, 1, Fast
If Pix(215, 1004) = 0x2C2021
; Simplified version of PixelGetColor =P
PixelGetColor, r, %x%, %y%
im using this to check color at location x y and send key when color is found. can this be done in any other way ?
Also the color in game seems to vary/differ , how do i correctly detect different shades of same color in my script