Scratch for Java

Sprite::move()

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

Syntax

Java

.move(steps)
.move(v)

Parameters

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

Return

void

move()