Scratch for Java

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

Actions::bind()

Binds keys to an action, in addition to what it is bound to already.

Syntax

Java

.bind(action, keys)
.bind(action, buttons)
.bind(action, buttons)
.bind(action, axes)

Parameters

Name Data Type Description
action String the action's name, e.g. "jump"
keys KeyCode[] the keys
buttons MouseCode[] the mouse buttons
axes GamepadAxis[] the stick directions or triggers, on any player's controller

Return

void

bind()

Teilbare URL erstellen

Abschnitte auswählen