How can I restrict the use of a input event 1 time only?

Thank you! works great