GET_BUTTON
Checks if a button is pressed.
A block that is not a button raises INVALID_ARGUMENT.
Parameters and results
positionSTRUCT c0de/minecraft/POSITION: where the button is- result
resultBOOLEAN: true if the button is pressed
Example
c0de
CALL c0de/minecraft/GET_BUTTON
PARAMETER position button ;
RESULT result pressed