Skip to main content

Input

Control Flow

If Button Just Pressed

Conditionally run part of the script if the specified joypad button is just pressed.
If Button Just Pressed
Any of
A
B
C
Start
X
Y
Z
Mode
Controller
1
2
True
Add Event
  • Any of: The input buttons to check.
  • Controller: The controller index to check.

If Button Just Released

Conditionally run part of the script if the specified joypad button is just released.
If Button Just Released
Any of
A
B
C
Start
X
Y
Z
Mode
Controller
1
2
True
Add Event
  • Any of: The input buttons to check.
  • Controller: The controller index to check.

If Button Pressed

Conditionally run part of the script if the specified joypad button is currently pressed.
If Button Pressed
Any of
A
B
C
Start
X
Y
Z
Mode
Controller
1
2
True
Add Event
  • 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
Add Event

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
Add Event
  • 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 Button Pressed

Pauses the script until one of the specified joypad buttons are pressed.
Pause Script Until Button 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.