Autonomous vision question

We are trying to mount the gear during autonomous using vision to detect the distance from the reflective tape to the robot. We are reading distance at the moment and have it set up as a global variable being sent from vision processing to robot global data, then being read in autonomous to receive the distance value. I know I need a greater than block for the robot to run until the distance being read is less than whatever number we’ll need to place the gear, the problem is, I don’t know what to do with that, like how do I set that up to run until that distance is less than the required distance, and after it has reached that distance, move on to the next “scene” in the sequence structure.

Something like this maybe?
Only with your distance value derived from the vision processing.

That worked! Thank you so much!