Using Color outputs as a start condition?

Hi, so I am trying to set up the code to have our robot detect the color of the switch, and proceed to a case structure that dictates what it will do. I cannot seem to find how to use a true/false statement to connect to the color output. Help is much appreciated!

          ~Cameron F. of RHS Robotics

Section 3.10 of the game manual points you to this site:

There, it’ll show you how to read the data and use String Subset to pull the first element from the string (your switch).

To change that to read the scale, wire the input that is currently unwired with a constant value of 1.

Once you have that, follow the logic from the link to use a case structure to choose what to do if the switch is L or R