WMCommonsRaspberryPi4.jpg This feature is only available on the Raspberry Pi version of Scratch 3.0. No other version has it.
When Tilted ()
when tilted [forward v] :: extension hat
Category Raspberry Pi Sense HAT
Type Hat
Introduced in 3.0

The when tilted () block is a Raspberry Pi Sense HAT block and a hat block. Its options are "forward", "backward", "left", and "right". It fires when the Raspberry Pi Sense HAT unit is tilted in the specified direction.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.