blocks_vertical/motion.js
function() {
    this.jsonInit({
      "message0": Blockly.Msg.MOTION_ALIGNSCENE,
      "args0": [
        {
          "type": "field_dropdown",
          "name": "ALIGNMENT",
          "options": [
            [Blockly.Msg.MOTION_ALIGNSCENE_BOTTOMLEFT, 'bottom-left'],
            [Blockly.Msg.MOTION_ALIGNSCENE_BOTTOMRIGHT, 'bottom-right'],
            [Blockly.Msg.MOTION_ALIGNSCENE_MIDDLE, 'middle'],
            [Blockly.Msg.MOTION_ALIGNSCENE_TOPLEFT, 'top-left'],
            [Blockly.Msg.MOTION_ALIGNSCENE_TOPRIGHT, 'top-right']
          ]
        }
      ],
      "category": Blockly.Categories.motion,
      "extensions": ["colours_motion", "shape_statement"]
    });
  }
function() {
    this.jsonInit({
      "message0": Blockly.Msg.MOTION_ALIGNSCENE,
      "args0": [
        {
          "type": "field_dropdown",
          "name": "ALIGNMENT",
          "options": [
            [Blockly.Msg.MOTION_ALIGNSCENE_BOTTOMLEFT, 'bottom-left'],
            [Blockly.Msg.MOTION_ALIGNSCENE_BOTTOMRIGHT, 'bottom-right'],
            [Blockly.Msg.MOTION_ALIGNSCENE_MIDDLE, 'middle'],
            [Blockly.Msg.MOTION_ALIGNSCENE_TOPLEFT, 'top-left'],
            [Blockly.Msg.MOTION_ALIGNSCENE_TOPRIGHT, 'top-right']
          ]
        }
      ],
      "category": Blockly.Categories.motion,
      "extensions": ["colours_motion", "shape_statement"]
    });
  }
function ( ) { this . jsonInit ( { "message0" : Blockly . Msg . MOTION_ALIGNSCENE , "args0" : [ { "type" : "field_dropdown" , "name" : "ALIGNMENT" , "options" : [ [ Blockly . Msg . MOTION_ALIGNSCENE_BOTTOMLEFT , 'bottom-left' ] , [ Blockly . Msg . MOTION_ALIGNSCENE_BOTTOMRIGHT , 'bottom-right' ] , [ Blockly . Msg . MOTION_ALIGNSCENE_MIDDLE , 'middle' ] , [ Blockly . Msg . MOTION_ALIGNSCENE_TOPLEFT , 'top-left' ] , [ Blockly . Msg . MOTION_ALIGNSCENE_TOPRIGHT , 'top-right' ] ] } ] , "category" : Blockly . Categories . motion , "extensions" : [ "colours_motion" , "shape_statement" ] } ) ; }
Block to change the stage's scrolling alignment. Does not actually do
anything. This is an obsolete block that is implemented for compatibility
with Scratch 2.0 projects.
@this Blockly.Block
Block to change the stage s scrolling alignment . Does not actually do anything . This is an obsolete block that is implemented for compatibility with Scratch 2 . 0 projects .