Input
Entrada de control: Adjuntar script a botón
Run the specified script any time a joypad button is pressed.
Entrada de control: Adjuntar script a botón
Button
A
B
Start
Select
Override default button action
En Presionado
En Presionado
- Button: The joypad button to check.
- Override default button action: Set if the script should replace the default game action for the specified button.
- En Presionado: The script to run when the button is pressed.
Entrada De Control: Pausar script hasta presionar
Pauses the script until one of the specified joypad buttons are pressed.
Entrada De Control: Pausar script hasta presionar
Cualquiera de
A
B
Start
Select
- Cualquiera de: The input buttons to check.
Entrada De Control: Remover script adjunto
Remove an attached script from a joypad button restoring the default functionality of the button.
Entrada De Control: Remover script adjunto
Remover script adjunto al input
A
B
Start
Select
- Remover script adjunto al input: The joypad button to remove the attached script from.
Control Flow
Si un botón es presionado
Conditionally run part of the script if the specified joypad button is currently pressed. Will not wait for user input and will only execute once, if you wish to run a script every time a button is pressed use Attach Script To Button instead.
References
/docs/scripting/script-glossary/input#attach-script-to-button
Si un botón es presionado
Cualquiera de
A
B
Start
Select
Verdadero
Sino
- Cualquiera de: The input buttons to check.
- Verdadero: The script to run if the condition is true.
- Falso: The script to run if the condition is false.