(Redirected from Background)
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 5 blocks related to backdrops. Click on a block to learn about it.
In Looks:
In Events:
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. When a new backdrop is painted, one can change the color, the size of the brush, or one can use the paint bucket tool to fill in lots of space. One can also create shapes such as squares and circles. When one chooses a backdrop one can pick from 85 different backdrops. One can also edit those backdrops and draw on them.
Triggering Events
Much like sprites, backdrops are able to send events similar to broadcasts.
When a backdrop is switched to a different one, an event is sent and picked up by the when backdrop switches to [ v]
block. As with broadcasts, backdrops can be switched from any sprite, and a script can be programmed to wait until execution of all scripts underneath a When Backdrop Switches to () block is done using a switch backdrop to ( v) and wait
block.
History
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.[1]
See Also
References
- ↑ projects:25183254 — A petition to bring back the backdrop scrolling blocks.