Input Action Update
Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.
These articles are made possible by our GitHub Sponsors ... become a sponsor today!
Used by InputAction objects to report changes as an event argument. InputAction is a type of Game Event, to learn more about Game Events read our article here.
public InputHandle_t controller
The controller this event was triggered by
public InputActionType type
The type of input action that caused this event
public EInputSourceMode mode
The input mode behaviour used for the InputAction that generated this event e.g. button, stick, trigger, etc.
public bool isActive
Indicates rather or not this action is currently active
public bool isState
Indicates rather or not this action is currently state == true or false, true meaning this action happened, false meaning it is not happening.
public float isX
The current value of the X input for this action if any
public float isY
The current value of the Y input for this action if any
public bool wasActive
Indicates rather or not this action was active before this event
public bool wasState
Indicates rather or not this action was state = true or false before this event
public float wasX
The value of the X input for this action before this event if any
public float wasY
The value of the Y input for this action before this event if any
public float DeltaX => isX - wasX;
The difference between is and was for the X input
public float DeltaY => isY - wasY;
The difference between is and was for the Y input
public bool Active => isActive;
Reads the is Active, convenance feature and no different than reading isActive
public bool State => isState;
Reads the is State, convenance feature and no different than reading isState
public float X => isX;
Reads the is X, convenance feature and no different than reading isX
public float Y => isY;
Reads the is Y, convenance feature and no different than reading isY
public InputActionData Data => get;
Last modified 1mo ago