First of all, I'm getting confused which one you are -- ChrisR_522 or jax1488? And now programmr? jax1488 was asking the same question in
this thread, but he thanked me for answering ChrisR_522's question in
this thread. No biggie, but multiple names and duplicate questions are confusing at best and wastes time for sure.
Tom Line's answer
here is a good starting point. Wrap that if block inside another if that checks for the trigger. Follow each true/false branch by yourself (make a flowchart if needed) to make sure it works.
And tell us all why your robot is doing this -- I think I speak for everybody here that we're curious what the robot is going to do.