VisualScriptInputAction¶
Inherits: VisualScriptNode < Resource < Reference < Object
A Visual Script node returning a state of an action.
Description¶
VisualScriptInputAction can be used to check if an action is pressed or released.
Properties¶
|
||
|
Enumerations¶
enum Mode:
Mode MODE_PRESSED = 0
True
if action is pressed.
Mode MODE_RELEASED = 1
True
if action is released (i.e. not pressed).
Mode MODE_JUST_PRESSED = 2
True
on the frame the action was pressed.
Mode MODE_JUST_RELEASED = 3
True
on the frame the action was released.
Property Descriptions¶
String action = ""
Name of the action.
Mode mode = 0
State of the action to check. See Mode for options.