npc digger

How could i make a npc end a cube that is set to no collision when it is near it?Would it be possible to parent to nearest
instanced cube that does not have a property?