Scratch for Java

Actions::getBindingName()

What to tell the player to press for an action, for the device they use now (see isUsingGamepad()): "Space", "A", "Left stick left", \u2026 The first one bound counts.

Syntax

Java

.getBindingName(action)

Parameters

Name Data Type Description
action String the action's name

Return

String

getBindingName()

Create Shareable URL

Select Sections