A function which returns a number giving the colour of the screen at the coordinates specified. There must not be a space between POINT and the opening bracket.
IF POINT(X,Y)>7 THEN 300
You can use POINT to find out the colour of the screen at the specified point and take action accordingly. It will return one of the following values:
|0||The pixel is black.|
|15||The pixel is white.|
|-1||The specified point was outside the screen.|
The coordinates passed are absolute and can read anywhere on the screen (including outside the graphics viewport).