type Event
An event represents a change that has happened in the game. Certain scripts can react on these changes. Each event has a name, a complete list of all available events is here. Depending on the event name, it also carries additional data. You can extract the data by using eventData or eventArg.