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
A script to show arrows of the direction the micro:bit is tilted
Cookies help us deliver our services. By using our services, you agree to our use of cookies.