Restart/interupt the sleep function
There is no built in way as far as I know , but you should be able to achieve this with workflows and a variable counter to set up your own debounce pattern . I 've set up an example here where even if you click many times , it will only fire at most once every 500ms . It starts a new sleep on each click , but each they do not trigger their callback if another sleep has been started afterwards , but comparing the index of its own click with the latest one . https://toddle.dev/projects/olive_watto_inquisitive_buzzard/branches/start/components/HomePage?mode=design&leftpanel=design&rightpanel=style&canvas-width=824&canvas-height=800 I hope it makes sense , let me know if you need more explanation . ๐ฅ1