Returns a pixel color according to x,y pixel coordinates.
PixelGetColor ( x , y [, hwnd] )
x | x coordinate of pixel. |
y | y coordinate of pixel. |
hwnd | [optional] Window handle to be used. Default is the desktop window. |
Success: | a decimal value of pixel's color. |
Failure: | -1 if invalid coordinates. |
MouseGetPos, PixelChecksum, PixelCoordMode (Option), PixelSearch