Why not use the wait
block @rollke?
Obviously, with 20 buttons you’d want to create a function here instead, but these blocks work fine for me.
Here’s a demo:
https://thunk.app/w/KBKpW3y5Y
UPDATE:
Here’s a quick tutorial showing how to make a full parameterised version of this: