NUMBER_2D_TARGET

NUMBER_2D_TARGET

RETURNS THE SYSTEM OBJECT NUMBER WHICH IS THE 2D COMMAND "TARGET"

  • Type: System Variable
  • Parameter: 0
  • Group: System

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

  • The system variable NUMBER_2D_TARGET is used to know the system object number which is the 2D commands "target".

ERROR

  • None.

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

SEE ALSO

2D_TARGET_IS