Scratch for Java

Stage::remove()

Removes the specified sprite from the stage.

Syntax

Java

.remove(sprite)
.remove(pen)
.remove(text)
.remove(c)

Parameters

Name Data Type Description
sprite Sprite the sprite to be removed
pen Pen the pen to be removed
text Text the text to be removed
c Class<Sprite> the class of the sprites to remove

Return

void

remove()