Page cover

Input Action Update

Like what your seeing?

Introduction

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.

Fields and Attributes

controller

public InputHandle_t controller

The controller this event was triggered by

type

public InputActionType type

The type of input action that caused this event

mode

public EInputSourceMode mode

The input mode behaviour used for the InputAction that generated this event e.g. button, stick, trigger, etc.

isActive

Indicates rather or not this action is currently active

isState

Indicates rather or not this action is currently state == true or false, true meaning this action happened, false meaning it is not happening.

isX

The current value of the X input for this action if any

isY

The current value of the Y input for this action if any

wasActive

Indicates rather or not this action was active before this event

wasState

Indicates rather or not this action was state = true or false before this event

wasX

The value of the X input for this action before this event if any

wasY

The value of the Y input for this action before this event if any

DeltaX

The difference between is and was for the X input

DeltaY

The difference between is and was for the Y input

Active

Reads the is Active, convenance feature and no different than reading isActive

State

Reads the is State, convenance feature and no different than reading isState

X

Reads the is X, convenance feature and no different than reading isX

Y

Reads the is Y, convenance feature and no different than reading isY

Data

Returns an InputActionData object representing the "is" or current state of the InputAction.

Last updated