(Redirected from Switch Backdrop to () and Wait)

Switch Backdrop to () and Wait
switch backdrop to ( v) and wait
Category Looks
Type Stack
Introduced in 2.0

The switch backdrop to () and wait block is a Stack block and a Looks block. 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 the broadcast () and wait block, because they both fire a user-driven event to start an action.

The block is only in the stage pallet, however, the block can be dragged into sprites and used there with perfect functionality.

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)

These examples will only work as intended if there are scripts that run when a backdrop switches to a certain backdrop. This is achieved by putting blocks under the when backdrop switches to () block.

See Also

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