When Button () Pressed
when button ( v) pressed :: extension hat
Category LEGO MINDSTORMS EV3
Type Hat
Introduced in 3.0

The when button () pressed block is a hat block and a LEGO MINDSTORMS EV3 block. Its options are "1", "2", "3", "4". It activates when the specified button is pressed on the LEGO MINDSTORMS EV3 unit.