Get Input Key Time Down

Get Input Key Time Down

Windows
MacOS
Linux

Returns how long the given key/button has been down. Returns 0 if it's up or it just went down this frame.

Target is Player Controller

Get Input Key Time Down
Target
Key
Return Value
0.0

Inputs

Target
Player Controller Object Reference
Key
Key Structure

Outputs

Return Value
Float

Returns how long the given key/button has been down. Returns 0 if it's up or it just went down this frame.

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