(Redirected from Background)
Scratch 2.0 has the following 7 blocks related to backdrops:
- Switch Backdrop to () (Looks)*Switch Backdrop to () and Wait (Looks, Stage only, unless dragged to a sprite)
- Next Backdrop (Looks, Stage only, unless dragged to a sprite)
- Backdrop Name () (Looks)
- Backdrop # () (Looks, Stage only, unless dragged to a sprite)
- When Backdrop Switches to () (Events)
Backdrops are edited in the same way as costumes. They are found in the backdrops tab in the Stage. Backdrops can also be uploaded as an image file.
Backdrops work similar to broadcasts.
When a backdrop is changed, it sends an event picked up by the When Backdrop Switches to () hat block. As with broadcasts, backdrops be started from any sprite, and can also have their script wait until the backdrop finishes, by using the Switch Backdrop to () and Wait block.
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.