Clock.png This article or section contains information about a feature from a future version of Scratch that is unreleased and is subject to change. Please cite any additional info in order to prevent speculation.
Document stub.png 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. (September 2018)
When tilted ()
When tilted.PNG
Category Event, micro:bit
Type Hat

The When tilted () block is a hat block used as part of the Micro:bit extension. This block triggers an event when the micro:bit is tilted. It is possible to change the tilt direction from "any" to "front", "back", "left", and "right".

Example uses

When tilted example use 1.PNG Triggering an event on the micro:bit.

When tilted example use 2.PNG Triggering an event on the project's stage.