EV3 Switch Function Video LinkThe LEGO MINDSTORMS EV3 robot, in this example, uses the switch block with the touch sensor to move forward or backward depending on the button's state. https://www.youtube.com/watch?v=QQzyqoy3oAI