Events are the principal way in which you create interactive applications in Corona SDK. They are a way of triggering responses in your program. For example, you can turn any display object into an interactive button.
For more information, see the Basic Interactivity and Event Detection guide.
All events have a
name property that corresponds to the name you use to register the event.