gb.display.clear

From Gamebuino Wiki
Jump to: navigation, search

Description

Clears the display buffer (erase everything) and set the text cursor back to 0,0 (top left corner). If you need the display to be cleared at each frame, set gb.display.persistence to true (it will give better image stability than if you do it manually).

Syntax

gb.display.clear();

Parameters

none

Returns

none

Example

See also