|Go to () Layer|
The Go to () Layer block is a Looks block and a stack block. The block makes a sprite go to the very backmost or frontmost layer. A sprite at the backmost layer will be covered by any sprites in front of it; a sprite at the frontmost layer cannot be covered by another sprite.
The first dropdown input has two options: front and back. This block is useful in a wide variety of situations. Some common uses are:
- Preparing for a race
when I receive [setup v] go to x: (-50) y: (-100) go to [front v] layer . . .
- A card game
when this sprite clicked go to [front v] layer . . . repeat until <not <mouse down?>> go to [mouse-pointer v] end . . .
In some cases, a sprite needs to move forward or backward, but not to the very front or back. The
go [ v] () layers block does that.
Say () for () Secs • Say () • Think () for () Secs • 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 Number • Size
|For the Stage|