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

It does not matter you can do it in either. But use by event as by function name is kind of outdated