when Pressed
Run a task when a controller button is pressed (will run once when pressing the desired input).
Return
Timing/stop control for allocation.
Parameters
button
The button of the controller.
Run a task when a controller button is pressed (will run once when pressing the desired input).
Timing/stop control for allocation.
The button of the controller.