- This article is about the Go Direct block. For the Raspberry Pi block, see When Shaken (block).
when ( v)
|Category||Go Direct Force & Acceleration|
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.