WMCommonsRaspberryPi4.jpg This feature is only available on the Raspberry Pi version of Scratch 3.0. No other version has it.
Roll
(roll :: extension)
Category Raspberry Pi Sense HAT
Type Reporter
Introduced in 3.0

The roll block is a Raspberry Pi Sense HAT block and a reporter block. It returns the current "roll angle" that the Raspberry Pi Sense HAT is pointed in.

The Raspberry Pi can measure rotation on all its three axes. They are called pitch, row and yaw.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.