- The correct title of this article is Backdrop # (value). The Scratch Wiki uses this different title because of technical restrictions.
The Backdrop # is a local value which is set to the current backdrop of the stage. All backdrops have both a name and number identifying their position in the backdrops pane in the Paint Editor.
There is a block that reports this value, so it can be set for a variable:
when gf clicked forever set [variable v] to (backdrop [number v]) end
Related Blocks
The following blocks can be used in conjunction with this value:
backdrop [number v]
— A reporter block for the backdrop # or name. Can be displayed as a Stage Monitorswitch backdrop to ( v)
— Switches to a certain backdrop. Can also be set to Next, Previous, or Random backdropnext backdrop
— A block that switches to the next backdrop and changes the backdrop number by 1when backdrop switches to [ v]
— A hat block that starts a script when a certain backdrop is displayed
Example Uses
This value can be used in a number of ways:
- Reporting what backdrop is displaying
- Doing an action for a specific backdrop