InputEventIsActionPressed Method |
Returns true if the given action is being pressed (and is not an echo event for InputEventKey events, unless allow_echo is true). Not relevant for events of type InputEventMouseMotion or InputEventScreenDrag.
Namespace: Godot
public bool IsActionPressed( string action, bool allowEcho = false )
[Missing <param name="action"/> documentation for "M:Godot.InputEvent.IsActionPressed(System.String,System.Boolean)"]
[Missing <param name="allowEcho"/> documentation for "M:Godot.InputEvent.IsActionPressed(System.String,System.Boolean)"]
[Missing <returns> documentation for "M:Godot.InputEvent.IsActionPressed(System.String,System.Boolean)"]