Brick Buttons Block
Brick Buttons Block - Overview -
The Brick Buttons block gets data from the Brick Buttons, which are the five buttons (Left, Center, Right, Up, and Down) on the face of the EV3 Brick. You can find out which button is pressed and get a Numeric output. You can also test one or more buttons to check if one is Pressed, Released, or Bumped, and get a Logic (True or False) output.
Use the Mode Selector to select the mode for the block. The Inputs and Outputs available will change depending on the mode.