The switch is a button that allows players to tap on the tiles and discover either X or filled tiles (green square).
To use the switch, simply click on the switch button and select either X or the green square, depending on what type of tiles you want to discover.