How to get time of a button is being held down if button is not release

Basically you need to use get input key time down. Watch this tutorial, it is what you are looking for i believe. WTF Is? Get Input Key Time Down in Unreal Engine 4 ( UE4 ) - YouTube