Scratch for Java

Camera::toWorldPosition()

Which world position shows at a place on the stage.

Syntax

Java

.toWorldPosition(screen)

Parameters

Name Data Type Description
screen Vector2 a screen position (origin at the stage's centre)

Return

Vector2

toWorldPosition()

Create Shareable URL

Select Sections