Scratch for Java

Pen::removedFromStage()

This method is called when the pen is removed from the stage. It sets the stage reference to null.

Syntax

Java

.removedFromStage(stage)

Parameters

Name Data Type Description
stage Stage The stage from which the pen is removed.

Return

void

removedFromStage()