How the Touch Sensor Works

When the Touch Sensor is pressed, it closes an electrical circuit, allowing current to flow.

If the Touch Sensor is released, the circuit is broken and no current flows.

The flow (or lack) of current is detected by the EV3, allowing it to determine the Touch Sensor is pressed.