Scratch for Java

Stage::switchBackdrop()

Switches to the backdrop with that name and tells the stage and every sprite (whenBackdropSwitches); an unknown name changes nothing.

Examples

View on GitHub

Syntax

Java

.switchBackdrop(name)

Scratch

switch backdrop to [name v]

Parameters

Name Data Type Description
name String the backdrop's name

Return

void

switchBackdrop()

Create Shareable URL

Select Sections