blocks_vertical/looks.js
function() {
    this.jsonInit({
      "message0": "%1",
      "args0": [
        {
          "type": "field_dropdown",
          "name": "COSTUME",
          "options": [
            ['costume1', 'COSTUME1'],
            ['costume2', 'COSTUME2']
          ]
        }
      ],
      "colour": Blockly.Colours.looks.secondary,
      "colourSecondary": Blockly.Colours.looks.secondary,
      "colourTertiary": Blockly.Colours.looks.tertiary,
      "extensions": ["output_string"]
    });
  }
function() {
    this.jsonInit({
      "message0": "%1",
      "args0": [
        {
          "type": "field_dropdown",
          "name": "COSTUME",
          "options": [
            ['costume1', 'COSTUME1'],
            ['costume2', 'COSTUME2']
          ]
        }
      ],
      "colour": Blockly.Colours.looks.secondary,
      "colourSecondary": Blockly.Colours.looks.secondary,
      "colourTertiary": Blockly.Colours.looks.tertiary,
      "extensions": ["output_string"]
    });
  }
function ( ) { this . jsonInit ( { "message0" : "%1" , "args0" : [ { "type" : "field_dropdown" , "name" : "COSTUME" , "options" : [ [ 'costume1' , 'COSTUME1' ] , [ 'costume2' , 'COSTUME2' ] ] } ] , "colour" : Blockly . Colours . looks . secondary , "colourSecondary" : Blockly . Colours . looks . secondary , "colourTertiary" : Blockly . Colours . looks . tertiary , "extensions" : [ "output_string" ] } ) ; }
Costumes drop-down menu.
@this Blockly.Block
Costumes drop - down menu .