Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APlayerController
Description
Returns how long the given key/button has been down. Returns 0 if it's up or it just went down this frame.
| Name | GetInputKeyTimeDown |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include Path | #include "GameFramework/PlayerController.h" |
UFUNCTION (BlueprintCallable, Category="Game|Player")
float GetInputKeyTimeDown
(
FKey Key
) const