Doc: Cls

( PlayBasic 1.71 )

Cls - clear the screen

Syntax

Cls color

Explanation

Cls clears the screen of text and graphics. It requires a color as it's argument.

Examples

Clear the Screen to Black

The code below clears the screen to black.

Cls 0

Related Pages

  • Sync - draw the game screen
Categories: Functions : Graphics