Scratch for Java

Sprite::move()

Moves the sprite towards the current rotation by the received steps.

Syntax

Java

.move(steps)
.move(v)

Scratch

move (steps) steps

Parameters

Name Data Type Description
steps double a number of pixels
v Vector2 a vector

Return

void

move()

Create Shareable URL

Select Sections