Input
Events for detecting button presses and player input.
Control Flow
If Input Just Pressed
Conditionally run part of the script if the specified joypad button is just pressed.If Input Just Pressed
Any of
A
B
C
Start
X
Y
Z
Mode
Controller
1
2
True
- Any of: The input buttons to check.
- Controller: The controller index to check.
If Input Just Released
Conditionally run part of the script if the specified joypad button is just released.If Input Just Released
Any of
A
B
C
Start
X
Y
Z
Mode
Controller
1
2
True
- Any of: The input buttons to check.
- Controller: The controller index to check.
If Input Pressed
Conditionally run part of the script if the specified joypad button is currently pressed.If Input Pressed
Any of
A
B
C
Start
X
Y
Z
Mode
Controller
1
2
True
- Any of: The input buttons to check.
- Controller: The controller index to check.
If Player 2 is Connected
Conditionally run part of the script if the gamepad for Player 2 is connected.If Player 2 is Connected
Run if the Player 2 gamepad is connected.
True
Script
Attach Script To Button
Run the specified script any time a joypad button is pressed.Attach Script To Button
Button
A
B
C
Start
X
Y
Z
Mode
Controller
1
2
On Press
On Press
- Button: The joypad button to check.
- Controller: The controller index to check.
- On Press: The script to run when the button is pressed.
Pause Script Until Input Pressed
Pauses the script until one of the specified joypad buttons are pressed.Pause Script Until Input Pressed
Any of
A
B
C
Start
X
Y
Z
Mode
Controller
1
2
- Any of: The input buttons to check.
- Controller: The controller index to check.
Remove Button Script
Remove an attached script from a joypad button restoring the default functionality of the button.Remove Button Script
Remove script attached to input
A
B
C
Start
X
Y
Z
Mode
Controller
1
2
- Remove script attached to input: The joypad button to remove the attached script from.
- Controller: The controller index to check.

