code: function() {
      this.jsonInit({
        "message0": "%1",
        "args0": [
          {
            "type": "field_dropdown",
            "name": "ON",
            "options": [
              [Blockly.Msg.MOTION_IFON_EDGE, '_edge_'],
              [Blockly.Msg.MOTION_IFON_POINTER, '_mouse_'],
            ]
          }
        ],
        "colour": Blockly.Colours.motion.secondary,
        "colourSecondary": Blockly.Colours.motion.secondary,
        "colourTertiary": Blockly.Colours.motion.tertiary,
        "extensions": ["output_string"]
      });
    }
docs: If on X, bounce block menu.
  @this Blockly.Block