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

Thank You my friend! Works perfect