|This article is a stub. It may be incomplete, unfinished, or have missing parts/sections. If the article can be expanded, please do so! There may be suggestions on its talk page. (January 2020)|
|Tilt angle ()|
tilt angle [ v]::microbit
The tilt angle block is a reporter block used as part of the micro:bit extension. This block will detect the angle of tilt in a certain direction. By default, the block checks for the tilt angle for the front but can be changed to detect the angle of 'back', 'left', or 'right' tilting.
The block reports the angle which the micro:bit is tilted at.
Some example uses are:
- Displaying the tilt angle
forever display text (tilt angle [left v]::microbit)::microbit
When the micro:bit is tilted left, the left tilt angle is displayed on the micro:bit.