No Revisions Have Been Made To This Page
Can you suggest an edit for this page? Click Here
GML Code Example
|enable||Enable (true) or disable (false) the draw event for all instances.|
With this function you can choose to enable (true) or
disable (false) the draw event for all instances in the
game, thus giving you control over how and when things are
draw, useful if you wish to implement a "frame skip" technique.
Note that this doesn't just prevent instances drawing to the
screen, it suppresses the draw event completely meaning that care
should be taken since any game logic that is present in that event
will not be run either.