- This article is about the Go Direct block. For the Raspberry Pi block, see When Shaken.
| When () | |
when ( v) | |
| Category | Go Direct Force & Acceleration |
| Type | Hat |
| Introduced in | 3.0 |
The when () block is a hat block and a Go Direct Force & Acceleration block. Its options are "shaken", "started falling", "turned face up", and "turned face down". It fires whenever the selected event occurs on the Go Direct Force and Acceleration Sensor.