RobotStudio event

Multi-conditional IO changes?

So I'm trying to get a gripper mechanism to drop pins onto a pallet.
But I'm sorta cheating in that the gripper and the pallet already has invisible pins in it.

My problem is that when I get the gripper to move to "drop off" a pin, when the gripper moves back to the home position, it passes through all the other pins in that row and triggers them all to show up even if I don't want them to.

Is there a way that I can simulate an IF statement in Event Manager to prevent this from happening?