|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 Backdrop () (block).|
This block could be displayed as a stage monitor.
Prior to Scratch 2.0, this block did not exist. Instead, the Backdrop Number (block) had to be used instead. Another alternative would be to list each costume name in a list. Both these blocks became available in Scratch 2.0 and can each be used to meet a specific project's needs. One notable difference was that the this block was available in both the Stage and sprites, while the Backdrop Number is only in the stage. In Scratch 3.0, this block was merged with Backdrop # to create Backdrop ().
This block held the backdrop name of the Stage, therefore it was used when something needed to happen if the Stage was at a specific backdrop. Some of the more common uses were:
- Stopping the project once the Stage reaches the backdrop for the end of the project
when gf clicked wait until <(backdrop name) = [The End]> stop [all v]
- Checking what the current backdrop is
if <(backdrop name) = [Level 1]> then say [Welcome to the game! Use WASD to move.] for (4) secs end if <(backdrop name) = [Level Boss]> then say [Watch out for the boss's laser attack!] for (4) secs end
- Setting a variable to the current backdrop
set [variable v] to (backdrop name)
This block also gives more meaning to naming backdrops.
- Main article: List of Block Workarounds
This block could simply be replicated with the following code:
([backdrop name v] of [Stage v])
(backdrop [name v])
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 Number • Size
|For the Stage|