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

The when button () pressed block is a Hat Block in the LEGO MINDSTORMS EV3 Extension. It starts its script when the selected button on the EV3 is pressed.