APlayerController::GetInputAnalogKeyState

Returns the analog value for the given key/button.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h

Include

#include "GameFramework/PlayerController.h"

Source

/Engine/Source/Runtime/Engine/Private/PlayerController.cpp

Syntax

float GetInputAnalogKeyState
(
    FKey Key
) const

Remarks

Returns the analog value for the given key/button. If analog isn't supported, returns 1 for down and 0 for up.

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