Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
VisualScriptInputAction¶
Inherits: VisualScriptNode < Resource < Reference < Object
A Visual Script node returning a state of an action.
Descripción¶
VisualScriptInputAction
can be used to check if an action is pressed or released.
Propiedades¶
|
||
|
Enumeraciones¶
enum Mode:
MODE_PRESSED = 0 ---
True
if action is pressed.MODE_RELEASED = 1 ---
True
if action is released (i.e. not pressed).MODE_JUST_PRESSED = 2 ---
True
on the frame the action was pressed.MODE_JUST_RELEASED = 3 ---
True
on the frame the action was released.
Descripciones de Propiedades¶
String action
Default |
|
Setter |
set_action_name(value) |
Getter |
get_action_name() |
Name of the action.
Mode mode
Default |
|
Setter |
set_action_mode(value) |
Getter |
get_action_mode() |
State of the action to check. See Mode for options.