Scratch for Java

Sprite::changePosition()

Changes the position of the sprite by a given vector.

Syntax

Java

.changePosition(v)

Parameters

Name Data Type Description
v Vector2 a vector representing the change in position

Return

void

changePosition()