Retain true-value of button for x seconds

I’m trying to retain the value of a pressed button for 10 seconds. After this delay, the value can go to False again.
It seems trivial to me, but i can’t figure out the right combination of datadams, recorders, timers,…


Thanks guys!

Not sure how this would work using native grasshopper components but it can be done pretty easily with a scripted python component (attached). This is just a modified version of a script that
@AndersDeleuran posted here. (6.0 KB)

1 Like

Oeh, that’s neat! Thanks to both of you!

1 Like