Is there anyway to get the key pressed time and branch??

Whole day Im trying to figure out, how to get time period on key press and hold, especially for the left mouse. Im trying to make a branch from after certain period(say 2s) to branch from left mouse-> Pressed(not Released). every forums, video tutorial all indicate after release but not during pressed.

can track when pressed and accumulate time in tick

Can u show me how to get it working, Im trying with key press down time from event tick all I get is 0.0 on checking with left mouse button

Something like that :

PS : you can settup the time by changing “DetectionTime_ms” and your “after x second of press” exec pin will be the true exec of the right branch node.