On tick, place a Get Player Controller node, then connect it to a GetInputKeyTimeDown node. This will return how long a key is held down for. You can make a Branch node attached to your Tick node and if GetInputKeyTimeDown > 0 set a variable you make to the value. On the release of the key check the value of how long the key was held.
The node that is commented Time Held < Hold Time is there to see if the amount of time that the key was held is less than what you consider “held down”. If you set the bottom value to 1.0, then it will only consider it held down if it is held for one second or more.
Let me know if this helped!