How to seek to a position

I wonder if someone could help me with a problem with a seek
Function.
I know it a seek destack wizard function in the software, I don’t have the e version.
How can I seek to a position and stop when the Vacuum
Sensor get high, that would be when the vakuum cups hit the
Paper.
Something like this. I have a stack with paper that the robot should pick up one paper and do the rest of the
Program.

It seems that I could use add until.
But, how can I make the robot to go back 50mm in z direction after it found the paper.

In the Until command screen
enable the Add Action
then in the program tree add a small wait for your vacuum to settle
then have a MoveL Relative Position Waypoint with z 50mm