"Until contact" until details ara out?

I want the robot to take details with the “until contact” function. I know how to do it.
But how do you make it start working elsewhere when it has reached a certain point?