How Would I make a button you have to hold to activate an event?

set an retriggerable delay before activation and reset in any way on release ?