Click or drag to resize

InputParseInputEvent Method

Feeds an InputEvent to the game. Can be used to artificially trigger input events from code. Also generates _Input(InputEvent) calls.

Example:

var a = InputEventAction.new()
a.action = "ui_cancel"
a.pressed = true
Input.parse_input_event(a)

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void ParseInputEvent(
	InputEvent event
)

Parameters

event
Type: GodotInputEvent

[Missing <param name="event"/> documentation for "M:Godot.Input.ParseInputEvent(Godot.InputEvent)"]

See Also