WMCommonsRaspberryPi4.jpg This feature is only available on the Raspberry Pi version of Scratch 3.0. No other version has it.
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.

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