From Test-Scratch-Wiki

Translate: - English 
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 to a variable:

when gf clicked
forever
   set [variable v] to (backdrop name)

Related Blocks

The following blocks can be used in conjunction with this value:

— The stage monitor and reporter block of the backdrop name

— Switches to a certain backdrop and changes the backdrop number

— A Stage-only block that switches to the next backdrop and changes the backdrop number by 1

— 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 on the stage
  • Doing an action for a specific backdrop

See also