blocks_vertical/looks.js
function() {
    this.jsonInit({
      "message0": Blockly.Msg.LOOKS_CHANGEEFFECTBY,
      "args0": [
        {
          "type": "field_dropdown",
          "name": "EFFECT",
          "options": [
            [Blockly.Msg.LOOKS_EFFECT_COLOR, 'COLOR'],
            [Blockly.Msg.LOOKS_EFFECT_FISHEYE, 'FISHEYE'],
            [Blockly.Msg.LOOKS_EFFECT_WHIRL, 'WHIRL'],
            [Blockly.Msg.LOOKS_EFFECT_PIXELATE, 'PIXELATE'],
            [Blockly.Msg.LOOKS_EFFECT_MOSAIC, 'MOSAIC'],
            [Blockly.Msg.LOOKS_EFFECT_BRIGHTNESS, 'BRIGHTNESS'],
            [Blockly.Msg.LOOKS_EFFECT_GHOST, 'GHOST']
          ]
        },
        {
          "type": "input_value",
          "name": "CHANGE"
        }
      ],
      "category": Blockly.Categories.looks,
      "extensions": ["colours_looks", "shape_statement"]
    });
  }
function() {
    this.jsonInit({
      "message0": Blockly.Msg.LOOKS_CHANGEEFFECTBY,
      "args0": [
        {
          "type": "field_dropdown",
          "name": "EFFECT",
          "options": [
            [Blockly.Msg.LOOKS_EFFECT_COLOR, 'COLOR'],
            [Blockly.Msg.LOOKS_EFFECT_FISHEYE, 'FISHEYE'],
            [Blockly.Msg.LOOKS_EFFECT_WHIRL, 'WHIRL'],
            [Blockly.Msg.LOOKS_EFFECT_PIXELATE, 'PIXELATE'],
            [Blockly.Msg.LOOKS_EFFECT_MOSAIC, 'MOSAIC'],
            [Blockly.Msg.LOOKS_EFFECT_BRIGHTNESS, 'BRIGHTNESS'],
            [Blockly.Msg.LOOKS_EFFECT_GHOST, 'GHOST']
          ]
        },
        {
          "type": "input_value",
          "name": "CHANGE"
        }
      ],
      "category": Blockly.Categories.looks,
      "extensions": ["colours_looks", "shape_statement"]
    });
  }
function ( ) { this . jsonInit ( { "message0" : Blockly . Msg . LOOKS_CHANGEEFFECTBY , "args0" : [ { "type" : "field_dropdown" , "name" : "EFFECT" , "options" : [ [ Blockly . Msg . LOOKS_EFFECT_COLOR , 'COLOR' ] , [ Blockly . Msg . LOOKS_EFFECT_FISHEYE , 'FISHEYE' ] , [ Blockly . Msg . LOOKS_EFFECT_WHIRL , 'WHIRL' ] , [ Blockly . Msg . LOOKS_EFFECT_PIXELATE , 'PIXELATE' ] , [ Blockly . Msg . LOOKS_EFFECT_MOSAIC , 'MOSAIC' ] , [ Blockly . Msg . LOOKS_EFFECT_BRIGHTNESS , 'BRIGHTNESS' ] , [ Blockly . Msg . LOOKS_EFFECT_GHOST , 'GHOST' ] ] } , { "type" : "input_value" , "name" : "CHANGE" } ] , "category" : Blockly . Categories . looks , "extensions" : [ "colours_looks" , "shape_statement" ] } ) ; }
Block to change graphic effect.
@this Blockly.Block
Block to change graphic effect .