blocks_vertical/motion.js
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"]
    });
  }
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"]
    });
  }
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" ] } ) ; }
Block to turn right.
@this Blockly.Block
Block to turn right .