DESIGNATES THE SYSTEM OBJECT NUMBER N (FORM, PICTURE, BUTTON_PICTURE) AS RECEIVER OF "2D" COMMANDS
ACTION
The command 2D_TARGET_IS N designates the system object number N (FORM, PICTURE, BUTTON_PICTURE) which will receive the "2D" commands. This system object becomes the "2D target" system object.
By default, the "2D target" system object is : FORM number 0.
SYNTAX:
2D_TARGET_IS N
USE ERROR EXAMPLE
rem create a PICTURE
picture 1
rem designate this system object as the 2D target
2d_target_is 1
rem draw a circle on the PICTURE
2d_circle 100,100,50
2D_TARGET_IS
2D_TARGET_IS N
SEE ALSO
FORM
PICTURE
BUTTON_PICTURE
NUMBER_2D_TARGET