/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h
Returns how long the given key/button has been down. Returns 0 if it's up or it just went down this frame.
float GetInputKeyTimeDown ( [FKey](API\Runtime\InputCore\FKey) Key ) const