Use the function if (place_meeting(Desired object)){
instance_destroy;
}
and then re-spawn code which i don't know.