Scratch for Java

Sprite::setWhenBackdropSwitches()

Sets the handler for when the backdrop switches to a specified name.

Syntax

Java

.setWhenBackdropSwitches(whenBackdropSwitches)

Parameters

Name Data Type Description
whenBackdropSwitches WhenBackdropSwitchesHandler A BackdropSwitchHandler that takes a Sprite and

Return

void

setWhenBackdropSwitches()