| This article or section documents something only available on the Raspberry Pi version of Scratch 3.0. |
| When Joystick Pushed () | |
when joystick pushed [up v]:: extension hat | |
| Category | Raspberry Pi Sense HAT |
| Type | Hat |
| Introduced in | 3.0 |
The set rotation to () degrees block is a Raspberry Pi Sense HAT block and a hat block. Its options are "left", "right", "up", "down", and "centre". It fires when the joystick on the Raspberry Pi Sense HAT is pushed in the specified direction.