![]() |
The Touch Sensor block gets data from the Touch Sensor. You can test whether the Touch Sensor is Pressed, Released, or Bumped, and get a Logic (True or False) output. See Using the Touch Sensor for more information about how the Touch Sensor works, the data that it provides, and programming examples. |



| Input | Type | Allowed Values | Notes |
|---|---|---|---|
| State | Numeric | 0 - 2 | State to test in Compare mode. 0 = Released 1 = Pressed 2 = Bumped |