instance_deactivate_all ( notme )
- notme = true or false
instance_deactivate_all() deactivates all instances in the current room. If notme is set to true, then every instance except the instance that calls the function will be deactivated. If it is set to false, every instance in the room is disabled, and your game will completely stop (because no instances is active not because it crashes).
Example of Use
In this example, all the instances in the room will be deactivated except the one calling this function.