I have been having trouble with the virtual optical sensor in VEXCode VR. It keeps switching on and off. My problem is, I want to use a variable to sense when the robot is holding or not holding a tribal. And it gets frustrating when your robot starts randomly spitting out tribals when it is not supposed to. I just want a solution so I can get my program working. Any ideas?