Timing input events.

Sorry if this has been discussed already!

About a week ago I remember a thread or a video discussing using event tick to track the delta between events. I can’t find that discussion anymore so I was curious what would be the process for tracking the time between an event, for instance double jump? Double-tap movements in general.

I’ve read that using tick events is expensive so would you create a timer node associated with the first key press, then when another is pressed subtract it from the original counter and then run an if statement to see if it meets a certain threshold?

Thanks!

Would this or this more or less be the route to take?