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
An action started.
.whenActionPressed(action)
| Name | Data Type | Description |
|---|---|---|
| action | String | the action's name, as bound with Actions.bind(String, org.openpatch.scratch.KeyCode...) |
void