Click or drag to resize

InputEventGetActionStrength Method

Returns a value between 0.0 and 1.0 depending on the given actions' state. Useful for getting the value of events of type InputEventJoypadMotion.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public float GetActionStrength(
	string action
)

Parameters

action
Type: SystemString

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

Return Value

Type: Single

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

See Also