blocks_vertical/motion.js
function() {
    this.jsonInit({
      "message0": "%1",
      "args0": [
        {
          "type": "field_dropdown",
          "name": "TO",
          "options": [
            [Blockly.Msg.MOTION_GOTO_POINTER, '_mouse_'],
            [Blockly.Msg.MOTION_GOTO_RANDOM, '_random_']
          ]
        }
      ],
      "colour": Blockly.Colours.motion.secondary,
      "colourSecondary": Blockly.Colours.motion.secondary,
      "colourTertiary": Blockly.Colours.motion.tertiary,
      "extensions": ["output_string"]
    });
  }
function() {
    this.jsonInit({
      "message0": "%1",
      "args0": [
        {
          "type": "field_dropdown",
          "name": "TO",
          "options": [
            [Blockly.Msg.MOTION_GOTO_POINTER, '_mouse_'],
            [Blockly.Msg.MOTION_GOTO_RANDOM, '_random_']
          ]
        }
      ],
      "colour": Blockly.Colours.motion.secondary,
      "colourSecondary": Blockly.Colours.motion.secondary,
      "colourTertiary": Blockly.Colours.motion.tertiary,
      "extensions": ["output_string"]
    });
  }
function ( ) { this . jsonInit ( { "message0" : "%1" , "args0" : [ { "type" : "field_dropdown" , "name" : "TO" , "options" : [ [ Blockly . Msg . MOTION_GOTO_POINTER , '_mouse_' ] , [ Blockly . Msg . MOTION_GOTO_RANDOM , '_random_' ] ] } ] , "colour" : Blockly . Colours . motion . secondary , "colourSecondary" : Blockly . Colours . motion . secondary , "colourTertiary" : Blockly . Colours . motion . tertiary , "extensions" : [ "output_string" ] } ) ; }
Go to drop-down menu.
@this Blockly.Block
Go to drop - down menu .