Instance deactivate all

Explanation
This function will stop all instances in the room from doing anything, that includes drawing itself, notme is indicating whether it shall stop the instance that is performing the code also; this can be true or false.

Example
The following code pauses the game by deactivating all instances (except itself) while the up key is pressed and reactivating then when it is released.

if (keyboard_check(vk_up)) {   instance_deactivate_all(true); } else {   instance_activate_all; }