Scratch for Java

Stage::goToUILayer()

Moves the specified sprite to the UI layer by removing it from the current list of sprites.

Syntax

Java

.goToUILayer(sprite)

Parameters

Name Data Type Description
sprite Sprite the sprite to be moved to the UI layer

Return

void

goToUILayer()