APlayerController::IsInputKeyDown

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

Choose your operating system:

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)