Switch backdrop to (): Difference between revisions

no edit summary
(Created page with "{{Infobox Block |block_name = switch backdrop to ( v) |block_type = Stack Block |category = Looks |title = switch backdrop to () }} THe '''switch backdrop to ()''' block is a stack block in the Looks category that switches the backdrop to the specified name, a random backdrop, the next backdrop, or the previous backdrop. It originates from Scratch. ==Workaround== The previous backdrop option can be worked around with the following:<br> previous backdrop|<sb...")
 
No edit summary
Line 5:
|title = switch backdrop to ()
}}
THeThe '''switch backdrop to ()''' block is a stack block in the [[Looks]] category that switches the backdrop to the specified name, a random backdrop, the next backdrop, or the previous backdrop. It originates from [[Scratch]].
==Workaround==
The previous backdrop option can be worked around with the following:<br>
Line 20:
switch backdrop to (pick random (1) to (backdrop #))
</scratchblocks>
Alternatively, you can just use the number of backdrops in the random backdrop workaround, like this:
<scratchblocks>
switch backdrop to (pick random (1) to (number of backdrops::grey))
</scratchblocks>
==See also==
*[[switch backdrop to () and wait]]
*[[switch costume to ()]]
{{DISPLAYTITLE:switch backdrop to ()}}
[[Category:Stack Blocks]]
[[Category:Looks Blocks]]
[[Category:Vanilla Blocks]]
231

edits