Scratch for Java

ActionListener::whenActionPressed()

An action started.

Syntax

Java

.whenActionPressed(action)

Parameters

Name Data Type Description
action String the action's name, as bound with Actions.bind(String, org.openpatch.scratch.KeyCode...)

Return

void

whenActionPressed()

Create Shareable URL

Select Sections