draw_clear


Description

This function can be used to clear the entire screen (with no alpha blend) to the given colour, and is only for use in the draw event of an instance (it will not show if used in any other event). It can also be useful for clearing surfaces when they are newly created.


Syntax:

draw_clear(col);


Argument Description
col The colour with which the screen will be cleared


Returns:

N/A


Example:

draw_clear(c_blue);

This will clear the screen with the colour blue.