POINT This command will return the pixel color value from the screen at the specified Coordinates.
Syntax
    Return DWORD=POINT(X,Y)
Parameters
    X
Integer This value specifies the x coordinate from which to read from.
    Y
Integer This value specifies the y coordinate from which to read from.
Returns
The colour value of the pixel read, which can be interpreted using the RGBR, RGBG and RGBB commands.
Description
You can also read from bitmaps by using the SET CURRENT BITMAP command.
Example Code
    CLS RGB(128,64,0)

    PRINT "AMOUNT OF RED=";RGBR(POINT(320,240))

    WAIT KEY
See also
BASIC2D Commands Menu Index