RobotStudio event

Cognex camera + 4600

Options
Is there a way to tell the camera in Robotstudio that when it finds an object (rolls in plastic bags), another object (rolls) can't be found within the same space? Sometimes when it finds the correct amounth of rolls, one is left unpicked because it found two at the same space.