if (green == 1) { if (instance_exists(kid)) { with (kid) instance_destroy(); } }