Scratch for Java

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

Actions::getAxis()

One direction from two opposite actions, e.g. getAxis("left", "right") for walking.

Syntax

Java

.getAxis(negative, positive)

Parameters

Name Data Type Description
negative String the action that counts down to -1, e.g. "left"
positive String the action that counts up to 1, e.g. "right"

Return

double

getAxis()

Teilbare URL erstellen

Abschnitte auswählen