getPixel()

Gets color value at given coordinates on current screen. Returned color is in Uint32 format. Alternatively you can use the point() command syntax.

Syntax:
variable = getPixel ( x , y )
variable = point( x , y )

Example:
print point( 100,100 )