| This article or section documents something only available on the Raspberry Pi version of Scratch 3.0. |
| Joystick Pushed ()? | |
<joystick pushed [up v]? :: extension> | |
| Category | Raspberry Pi Sense HAT |
| Type | Boolean |
| Introduced in | 3.0 |
The joystick pushed () block is a Raspberry Pi Sense HAT block and a boolean block. Its options are "left", "right", "up", "down", and "centre". It returns whether or not the joystick on the Raspberry Pi Sense HAT is pushed in the specified direction.