renamed tutorial

This commit is contained in:
Peli de Halleux
2019-09-06 08:47:56 -07:00
parent 6d15d69aa1
commit cf2e39f1b2
2 changed files with 12 additions and 3 deletions

View File

@ -0,0 +1,9 @@
# Stop At Object
This is a code example to detect contact or collision with another object. It uses a touch sensor to detect hitting a wall or other obstacle. The motors are run and then stopped when the sensor is pressed.
```blocks
motors.largeBC.tank(50, 50)
sensors.touch1.pauseUntil(ButtonEvent.Pressed)
motors.largeBC.stop()
```