set_automatic_draw(value)

From ENIGMA
Jump to navigation Jump to search

Description

Sets whether or not the game should automatically fire the screen redraw and draw events. This is the same function as draw_enable_drawevent and is useful for implementing frame skipping.

Parameters

Parameter Data Type Description
value boolean whether or not to automatically redraw the screen

Return Values

void: This function does not return anything.

Example Call

// demonstrates disabling automatic redraw
set_automatic_draw(false);