Revision as of 06:38, 5 February 2019 by Kenny2scratch (talk | contribs) (Example Uses: fixed)

() button pressed?
() button pressed..PNG
Category micro:bit
Type Boolean

The () button pressed? block is a Boolean block used as part of the micro:bit extension. This block will detect if the micro:bit has a certain button pressed. By default, the block checks for the A button being pressed but this can be changed to the B button or any button.

Example Uses

() button pressed example use.PNG

Detect which button is pressed.