From Test-Scratch-Wiki

Switch Backdrop to () and Wait
2.0 Switch Backdrop to () and Wait.png
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

Cookies help us deliver our services. By using our services, you agree to our use of cookies.