The PIXEL(component,x,y) function returns the color component at a given location on the screen (absolute coordinates relative to the top left corner of the main screen).
The component parameter can be any of:
The return value is always in the range 0-1.