for (var i = 0; i < array_length(relevant_objects); i++) instance_destroy(relevant_objects[i]);