hiding the was pressed block (#401)

This commit is contained in:
Peli de Halleux authored and GitHub committed 2018-04-03 04:10:35 -07:00
1 parent 6c626f9c98
commit c0413aa192
10 files changed
+14 -12

No files matched your search

@@ -16,7 +16,7 @@ If a touch sensor was pressed, then that event is remembered. Once you check if
If the touch sensor ``touch 1`` was pressed, show a `green` status light. Otherwise, set the status light to `orange`.
```blocks
```typescript
forever(function () {
if (sensors.touch1.wasPressed()) {
brick.setStatusLight(StatusLight.Green)