blocks_vertical/motion.js
function() {
    this.jsonInit({
      "message0": Blockly.Msg.MOTION_SETROTATIONSTYLE,
      "args0": [
        {
          "type": "field_dropdown",
          "name": "STYLE",
          "options": [
            [Blockly.Msg.MOTION_SETROTATIONSTYLE_LEFTRIGHT, 'left-right'],
            [Blockly.Msg.MOTION_SETROTATIONSTYLE_DONTROTATE, 'don\'t rotate'],
            [Blockly.Msg.MOTION_SETROTATIONSTYLE_ALLAROUND, 'all around']
          ]
        }
      ],
      "category": Blockly.Categories.motion,
      "extensions": ["colours_motion", "shape_statement"]
    });
  }
function() {
    this.jsonInit({
      "message0": Blockly.Msg.MOTION_SETROTATIONSTYLE,
      "args0": [
        {
          "type": "field_dropdown",
          "name": "STYLE",
          "options": [
            [Blockly.Msg.MOTION_SETROTATIONSTYLE_LEFTRIGHT, 'left-right'],
            [Blockly.Msg.MOTION_SETROTATIONSTYLE_DONTROTATE, 'don\'t rotate'],
            [Blockly.Msg.MOTION_SETROTATIONSTYLE_ALLAROUND, 'all around']
          ]
        }
      ],
      "category": Blockly.Categories.motion,
      "extensions": ["colours_motion", "shape_statement"]
    });
  }
function ( ) { this . jsonInit ( { "message0" : Blockly . Msg . MOTION_SETROTATIONSTYLE , "args0" : [ { "type" : "field_dropdown" , "name" : "STYLE" , "options" : [ [ Blockly . Msg . MOTION_SETROTATIONSTYLE_LEFTRIGHT , 'left-right' ] , [ Blockly . Msg . MOTION_SETROTATIONSTYLE_DONTROTATE , 'don\'t rotate' ] , [ Blockly . Msg . MOTION_SETROTATIONSTYLE_ALLAROUND , 'all around' ] ] } ] , "category" : Blockly . Categories . motion , "extensions" : [ "colours_motion" , "shape_statement" ] } ) ; }
Block to set rotation style.
@this Blockly.Block
Block to set rotation style .