RETURNS THE SYSTEM OBJECT NUMBER WHICH IS THE 2D COMMAND "TARGET"
ACTION
The system variable NUMBER_2D_TARGET returns the system object number which is the 2D commands "target".
SYNTAX:
NUMBER_2D_TARGET in an expression
USE ERROR EXAMPLE
picture 10 : rem create a PICTURE
left 10,100 : rem place it at 100 pixels from left edge
wait 1000 : rem wait for 1 second
print number_2d_target : rem 0 is printed
2d_target_is 10 : rem the PICTURE is the drawing target
print number_2d_target : rem 10 is printed
NUMBER_2D_TARGET
NUMBER_2D_TARGET
SEE ALSO
2D_TARGET_IS