code: function() {
      this.jsonInit({
        "message0": Blockly.Msg.EVENT_WHENGREATERTHAN,
        "args0": [
          {
            "type": "field_dropdown",
            "name": "WHENGREATERTHANMENU",
            "options": [
              [Blockly.Msg.EVENT_WHENGREATERTHAN_LOUDNESS, 'LOUDNESS'],
              [Blockly.Msg.EVENT_WHENGREATERTHAN_TIMER, 'TIMER']
            ]
          },
          {
            "type": "input_value",
            "name": "VALUE"
          }
        ],
        "category": Blockly.Categories.event,
        "extensions": ["colours_event", "shape_hat"]
      });
    }
docs: Block for when loudness/timer/video motion is greater than the value.
  @this Blockly.Block