draw_clear(col);
Argument | Description |
---|---|
col | The colour with which the screen will be cleared |
Returns: N/A
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.
draw_clear(c_blue);
This will clear the screen with the colour blue.