Hue is a good way to detect, being more precise, but the sensor already comes with color presets, as seen in Jpearman’s post here. you can just use Optical1.color() == vex::blue or a different color like Optical1.color() == vex::red. Hope this helps!