From Test-Scratch-Wiki
Switch Backdrop to () and Wait | |
Category | Looks |
Type | Stack |
Introduced in | 2.0 |
The Switch Backdrop to () and Wait block is a Looks block and a Stack block, only accessible within the stage. It functions similarly to the Switch to Backdrop () block, but this block waits for scripts under any When Backdrop Switches to () blocks to finish. This block is also similar to Broadcast () and Wait, because they both fire a user-driven event to start an action.
Example Uses
- Switching scenes temporarily
switch backdrop to [scene2 v] and wait switch backdrop to [scene1 v]
- Switching between levels
switch backdrop to [introduction v] and wait switch backdrop to [level1 v] and wait switch backdrop to [level2 v] and wait switch backdrop to [level3 v] and wait switch backdrop to [end game v]
See Also
- Backdrops
- When Backdrop Switches to ()
- Switch Backdrop to ()
- Broadcast () and Wait
- Next Backdrop
- Backdrop Name
- Backdrop #
For sprites |
Say () for () Secs
• Say () • Think () for () Secs • Think () • Show • Hide • Switch Costume to () • Next Costume • Switch Backdrop to () • Change () Effect by () • Set () Effect to () • Clear Graphic Effects • Change Size by () • Set Size to ()% • Go to Front • Go Back () Layers • Costume # • Backdrop Name • Size |
For the Stage |