FANDOM


This command will direct all 2D drawing activity to the camera, rather than the default behaviour of sending such activity to the backbuffer.

Syntax
DRAW TO CAMERA
Returns

This command does not return a value.

Description

Using this command will send text, 2D art, image pasting and sprites to the camera zero image if the SET CAMERA TO IMAGE is used for camera zero.

Example Code
DRAW TO CAMERA

PRINT "HELLO"

WAIT KEY



Syntax


DRAW TO CAMERA Camera Number


Description


This command will redirect all standard drawing/rendering operations to the specified camera.

Using this command is identical to using the SET CURRENT BITMAP with a negative value.

Community content is available under CC-BY-SA unless otherwise noted.