APlayerController::IsInputKeyDown

Returns true if the given key/button is pressed on the input of the controller (if present)

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

bool IsInputKeyDown
(
    FKey Key
) const

Remarks

Returns true if the given key/button is pressed on the input of the controller (if present)

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