code: function() {
      this.jsonInit({
        "message0": Blockly.Msg.MOTION_TURNRIGHT,
        "args0": [
          {
            "type": "field_image",
            "src": Blockly.mainWorkspace.options.pathToMedia + "rotate-right.svg",
            "width": 24,
            "height": 24
          },
          {
            "type": "input_value",
            "name": "DEGREES"
          }
        ],
        "category": Blockly.Categories.motion,
        "extensions": ["colours_motion", "shape_statement"]
      });
    }
docs: Block to turn right.
  @this Blockly.Block