blocks_vertical/looks.js
function() {
    this.jsonInit({
      "message0": Blockly.Msg.LOOKS_CHANGESIZEBY,
      "args0": [
        {
          "type": "field_dropdown",
          "name": "TYPE",
          "options": [
            [Blockly.Msg.LOOKS_SETSIZETO_SIZE, 'size'],
            [Blockly.Msg.LOOKS_SETSIZETO_STRETCH_X, 'stretch x'],
            [Blockly.Msg.LOOKS_SETSIZETO_STRETCH_Y, 'stretch y']
          ]
        },
        {
          "type": "input_value",
          "name": "CHANGE"
        }
      ],
      "category": Blockly.Categories.looks,
      "extensions": ["colours_looks", "shape_statement"]
    });
  }
function() {
    this.jsonInit({
      "message0": Blockly.Msg.LOOKS_CHANGESIZEBY,
      "args0": [
        {
          "type": "field_dropdown",
          "name": "TYPE",
          "options": [
            [Blockly.Msg.LOOKS_SETSIZETO_SIZE, 'size'],
            [Blockly.Msg.LOOKS_SETSIZETO_STRETCH_X, 'stretch x'],
            [Blockly.Msg.LOOKS_SETSIZETO_STRETCH_Y, 'stretch y']
          ]
        },
        {
          "type": "input_value",
          "name": "CHANGE"
        }
      ],
      "category": Blockly.Categories.looks,
      "extensions": ["colours_looks", "shape_statement"]
    });
  }
function ( ) { this . jsonInit ( { "message0" : Blockly . Msg . LOOKS_CHANGESIZEBY , "args0" : [ { "type" : "field_dropdown" , "name" : "TYPE" , "options" : [ [ Blockly . Msg . LOOKS_SETSIZETO_SIZE , 'size' ] , [ Blockly . Msg . LOOKS_SETSIZETO_STRETCH_X , 'stretch x' ] , [ Blockly . Msg . LOOKS_SETSIZETO_STRETCH_Y , 'stretch y' ] ] } , { "type" : "input_value" , "name" : "CHANGE" } ] , "category" : Blockly . Categories . looks , "extensions" : [ "colours_looks" , "shape_statement" ] } ) ; }
Block to change size
@this Blockly.Block
Block to change size