Scratch for Java

Diese Seite ist noch nicht übersetzt. Sie wird in ihrer Originalsprache angezeigt.

Sprite::setRotationCenter()

Sets the point of the costumes the sprite turns around and stands on, in costume pixels from the top left corner. Without it, that is the centre of each costume.

Examples

View on GitHub

Syntax

Java

.setRotationCenter(x, y)

Parameters

Name Data Type Description
x double pixels from the left edge
y double pixels from the top edge

Return

void

setRotationCenter()

Teilbare URL erstellen

Abschnitte auswählen