Scratch for Java

Sprite::goLayersForwards()

Moves the sprite forward by a specified number of layers within its stage.

Examples

View on GitHub

Syntax

Java

.goLayersForwards(number)

Scratch

go [forward v] (number) layers

Parameters

Name Data Type Description
number int the number of layers to move the sprite forward

Return

void

goLayersForwards()

Create Shareable URL

Select Sections