This Boolean block checks whether the onboard colour sensor detects the selected colour, such as red, green, blue, black, white, or yellow.
It returns True when the detected colour matches the selected option.