Returns a list of events of a specific class or inheriting from it. Use this method to poll for Events of a specific type created earlier in the frame.
Usage
ecs:events(class)
Arguments
Name
Type
Description
class
string or event class
The event class whose instances will be returned, as a string or as a reference.