I just wanted to drop a quick mention of the “object:dispatchEvent()” API into this thread, whether or not it relates directly to what you want to do. This API can be an unsung hero, but few people seem to even know it exists:
https://docs.coronalabs.com/api/type/EventListener/dispatchEvent.html
The reason I like this is because it’s extrememly customizable. You can basically make anything into an “event” and pass any number of custom parameters along with it, then conditionally check those parameters in the listener function. I urge you to check it out, experiment with it, and see how useful it can truly be.
Brent