Touch Sensor

Tutorials

[{
  "name": "Touch to Run",
  "description": "Press the Touch Sensor and run a motor.",
  "cardType": "tutorial",
  "url":"/tutorials/touch-to-run",
  "imageUrl":"https://pxt.azureedge.net/blob/67ca32a6a0ad3a2b0dac2580442efb05b5a5b82b/static/tutorials/touch-to-run.png"
}, {
  "name": "Sensor Values",
  "description": "Check the value of a Touch Sensor and stop a motor if pressed.",
  "cardType": "tutorial",
  "url":"/tutorials/touch-sensor-values",
  "imageUrl":"https://pxt.azureedge.net/blob/8a7bf96155d439c802a7dd3147474d4edc28710f/static/tutorials/touch-sensor-values.png"
}, {
  "name": "Stop At Object",
  "description": "Waits for the sensor to be pressed before continuing the program",
  "cardType": "example",
  "url":"/tutorials/stop-at-object",
  "imageUrl":"https://pxt.azureedge.net/blob/842dbdb135a6663f3a64c3491e8ceb50bc35c5c7/static/tutorials/pause-until-pressed.png"
}]

See Also

Touch to Run, Touch Sensor Values, Stop At Object