Navigation
API > API/Plugins > API/Plugins/EnhancedInput > API/Plugins/EnhancedInput/UEnhancedPlayerInput
Description
Retrieve the current value of an action for this player. Note: If the action is not currently triggering this will return a zero value of the appropriate value type, ignoring any ongoing inputs.
| Name | GetActionValue |
| Type | function |
| Header File | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Public/EnhancedPlayerInput.h |
| Include Path | #include "EnhancedPlayerInput.h" |
| Source | /Engine/Plugins/EnhancedInput/Source/EnhancedInput/Private/EnhancedPlayerInput.cpp |
FInputActionValue GetActionValue
(
TObjectPtr< const UInputAction > ForAction
) const