From Test-Scratch-Wiki

背景换成 () 并等待
背景換成 [背景2 v] 並等待
类别 外观类积木
形状 条形积木
加入于 2.0

The 背景换成 () 并等待 积木 is a 外观类积木 and a 条形积木, only accessible within the 舞台. It functions similarly to the 背景换成 () block, but this block waits for “程式” under any 当背景换成 () blocks to finish. This block is also similar to 广播 () 并等待, because they both fire a user-driven event to start an action.

用法示例

  • Switching scenes temporarily
背景換成 [背景2 v] 並等待
背景換成 [背景1 v]
  • Switching between levels
背景換成 [introduction v] 並等待
背景換成 [level1 v] 並等待
背景換成 [level2 v] 並等待
背景換成 [level3 v] 並等待
背景換成 [end game v]

参见

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