(Events)
(Events)
Line 19: Line 19:
 
Backdrops can work in a similar way to [[broadcasts]], and [[Sprites]]
 
Backdrops can work in a similar way to [[broadcasts]], and [[Sprites]]
  
When a backdrop is changed or clicked, it sends an event picked up by the When Backdrop Switches to () hat [[Blocks|block]]. As with broadcasts, backdrops be started from any sprite, and can also have their own script wait until the backdrop finishes, by using the Switch Backdrop to () and Wait block.
+
When a backdrop is changed or clicked, it sends an event picked up by the When Backdrop Switches to [[Blocks|block]]. As with broadcasts, backdrops be started from any sprite, and can also have their own script wait until the backdrop finishes, by using the Switch Backdrop to () and Wait block.
  
 
== History ==
 
== History ==

Revision as of 15:31, 24 January 2020

[[File:Castle door.png|thumb|240px|An example backdrop in the Backdrop Library. A backdrop is an image that can be shown on the Stage. It is similar to a costume, except that it is shown on the stage instead. They are located in the backdrops library.

The Stage can change its look to any of its backdrops using the Switch Backdrop to () block. They can be named, edited, created, and deleted in the Paint Editor.

Blocks

Scratch 3.0 has the following 6 blocks related to backdrops:

Editing

Backdrops are edited in the Paint Editor. They are found in the backdrops tab in the Stage. New backdrops can be chosen from the library, painted, uploaded, or chosen as a surprise.

Events

Backdrops can work in a similar way to broadcasts, and Sprites

When a backdrop is changed or clicked, it sends an event picked up by the When Backdrop Switches to block. As with broadcasts, backdrops be started from any sprite, and can also have their own script wait until the backdrop finishes, by using the Switch Backdrop to () and Wait block.

History

Archive.png This article or section documents something not included in the current version of Scratch (3.0). It is only useful from a historical perspective.

Prior to Scratch 2.0, backdrops were called "backgrounds" and had no events. At one point in development, they were called "scenes".

Prior to Scratch 2.0, many Scratchers paired switching backgrounds with a broadcast. This is a major reason for why they now have built-in events.

There were originally blocks planned for scrolling the backdrop in Scratch 2.0. They were removed before release, and some users have suggested bringing them back.[citation needed]

See Also