Sets the background of the display area to a solid color. 70 colors are available in the default color block, or a random color
can be specified.
When more than one background is used together in a sequence, the last background set will be the one that is used. In this example, the background will not switch from red to blue; when it is run, the background will go straight to blue.
The background starts white in Sprite Lab, but it can be changed to any color.
Name | Description |
---|---|
color | The color to be used as the background |
Found a bug in the documentation? Let us know at documentation@code.org