This article or section documents something not included in the current version of Scratch (3.0). It is only useful from a historical perspective. For information on the feature that replaced this one, see Go () () Layers (block). |
Go Back () Layers | |
go back () layers | |
Category | Looks |
Type | Stack |
Introduced in | 1.0 |
Removed in | 3.0 |
The go back () layers block was a Looks block and a Stack block. The block changed its Sprite's layer value by the specified amount. The block normally could only move sprites back, but entering a negative number in the input resulted in the sprite being moved forward. In Scratch 3.0, it was replaced with the go [ v] () layers
block, as the new block was able to move a sprite forward as well as backward.
Moving Forward Layers
Sprites could also move forward layers using this block. If a negative value was entered into the block, the sprite would move forward the specified number of layers. For example, go back (3) layers
moved the sprite back 3 layers, but go back (-3) layers
moved the sprite forward 3 layers.
Example Uses
As this block changed its sprite's layer value, it was used whenever a sprite's layer value must be changed, whether forward or backward. Some common uses were:
- Moving sprites in 3-dimensional scenes and animations
- Making a sprite go behind another sprite
- Stacking sprites on top of each other (from a bird's eye view)
This block was often used in conjunction with the Go to Front block to move a sprite to a specific layer. For example,
go to front go back (5) layers
moved a sprite to the 6th layer from the front.
Workaround
This can be replicated with the block that replaced it:
go [backward v] () layers
or
go [forward v] ((. . .::grey) * (-1)) layers
or
go [forward v] ((0) - (. . . :: grey)) layers
See Also
For sprites |
Say () for () Seconds • Say () • Think () for () Seconds • Think () • Switch Costume to () • Next Costume • Switch Backdrop to () • Next Backdrop • Change Size by () • Set Size to ()% • Change () Effect by () • Set () Effect to () • Clear Graphic Effects • Show • Hide • Go to () Layer • Go () () Layers • Costume () • Backdrop () • Size
|
For the Stage |