The color sensor gets confused if the lighting isn’t optimal. I tried to use the color sensor in the sample program and it had a difficult time discerning the colors. I recall there being a way to turn on the small white light embedded on the sensor to help fix issues with suboptimal ambient lighting.is there a way to do that with the vexcode blocks?
If you go to the “Looks” commands, you’ll find a “Set Colour Sensor Light” to x% block here