Click or drag to resize

InputMapEventIsAction Method

Returns true if the given event is part of an existing action. This method ignores keyboard modifiers if the given InputEvent is not pressed (for proper release detection). See ActionHasEvent(String, InputEvent) if you don't want this behavior.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static bool EventIsAction(
	InputEvent event,
	string action
)

Parameters

event
Type: GodotInputEvent

[Missing <param name="event"/> documentation for "M:Godot.InputMap.EventIsAction(Godot.InputEvent,System.String)"]

action
Type: SystemString

[Missing <param name="action"/> documentation for "M:Godot.InputMap.EventIsAction(Godot.InputEvent,System.String)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.InputMap.EventIsAction(Godot.InputEvent,System.String)"]

See Also