From Test-Scratch-Wiki

The correct title of this article is Backdrop # (value). The change of name is due to 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
   set [variable v] to (backdrop #)

Related Blocks

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

— The stage monitor and Stage-only reporter block of the backdrop #

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

See also

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