Noone

Explanation
noone is 4th of 5 special object indexes, and can be used in situations when you need to assign or reference a non-existing object.

Examples
Since noone indicates no object type, it can be used efficiently in all standard functions and global variables, that require object index as parameter.

For example, to stop current room's view from following any objects, you can use the following code: view_object[0] = noone // view 0 will not follow anything now

noone can be also used to control object's collision behaviour. The following code would stop player from restarting the room upon collision with spikes, if the K key is pressed: var danger; if keyboard_check(ord('K')) then danger = noone; else danger = obj_spikes; if place_meeting(x, y, danger) room_restart;

Remarks
You cannot assign variables to noone. Doing so will produce "Cannot assign to the variable" error.

Checking noone for existance with object_exists returns False.

noone (as constant) is equal to -4.