UEnhancedPlayerInput::GetActionValue

Retrieve the current value of an action for this player.

Windows
MacOS
Linux

References

Module

EnhancedInput

Header

/Engine/Plugins/Experimental/EnhancedInput/Source/EnhancedInput/Public/EnhancedPlayerInput.h

Include

#include "EnhancedPlayerInput.h"

Source

/Engine/Plugins/Experimental/EnhancedInput/Source/EnhancedInput/Private/EnhancedPlayerInput.cpp

Syntax

FInputActionValue GetActionValue
(
    const UInputAction * ForAction
) const

Remarks

Retrieve the current value of an action for this player.

If the action is not currently triggering this will return a zero value of the appropriate value type, ignoring any ongoing inputs.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss