Click and Hold

Click and Hold


I need to click and hold a button, while it's held i need to call a
function at a specific interval.
I'm thinking I will have to use a timer unless there's some other
method?
Thanks for any direction here. Great posts btw, learning a lot.