InputIsActionJustPressed Method |
Returns true when the user starts pressing the action event, meaning it's true only on the frame that the user pressed down the button.
This is useful for code that needs to run only once when an action is pressed, instead of every frame while it's pressed.
Namespace: Godot
public static bool IsActionJustPressed( string action )
[Missing <param name="action"/> documentation for "M:Godot.Input.IsActionJustPressed(System.String)"]
[Missing <returns> documentation for "M:Godot.Input.IsActionJustPressed(System.String)"]