|This feature is only available on the Raspberry Pi version of Scratch 3.0. No other version has it.|
|GPIO () is ()?|
<gpio (0 v) is [high v]? :: extension>
|Category||Raspberry Pi GPIO|
The gpio () is ()? block is a Raspberry Pi GPIO block and a boolean block. Its options for the first input are the numbers 0 through 27, with each number representing a GPIO pin. The second options are "high" and "low", representing a state that the pin can be set to. The block returns whether or not the specified pin is in the specified position.