Tilted ()? | |
< tilted ( v)?:: microbit > | |
Category | micro:bit |
Type | Boolean |
Introduced in | 3.0 |
The tilted ()? block is a boolean block and a micro:bit block. Its options are "front", "back", "left", "right", and "any". The block returns whether or not the micro:bit is being tilted in the specified direction.
Example Uses
- Displaying the tilt direction on the micro:bit