code: 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"]
      });
    }
docs: Block to set rotation style.
  @this Blockly.Block