if (variable_instance_exists(id, "collider") && instance_exists(collider)) instance_destroy(collider);