if (mysolid != 0) { with (mysolid) instance_destroy(); }