Sprite::addBackdrop()
Add a backdrop to the stage.
Examples
Syntax
Java
Scratch
add backdrop (name) (file path)
Parameters
Name | Data Type | Description |
---|---|---|
name | String | Name of the backdrop |
filePath | String | Path to an image file. |
stretch | boolean | Stretch the image to fill the window. |
Return
void