WMCommonsRaspberryPi4.png This article or section documents something only available on the Raspberry Pi version of Scratch 3.0.
Roll
(roll::extension)
Category Raspberry Pi Sense HAT
Type Reporter
Introduced in 3.0
The Raspberry Pi can measure rotation on all its three axes. They are called pitch, roll and yaw.

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.

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