Scratch for Java

Sprite::whenAddedToStage()

This method is called when the sprite is added to the stage. Override this method to define custom behavior when the sprite is added to the stage.

Examples

View on GitHub

Syntax

Java

.whenAddedToStage()

Return

void

whenAddedToStage()

Create Shareable URL

Select Sections