/// @description Alarm controlling MONSTER spawning. with oCamera { var target = get_coord_outside_viewport(x, y); var inst = instance_create_layer(target[0], target[1], "Instances", oEnemy); } alarm[0] = room_speed / spawn_speed;