Components sending events

Hello everyone,
Does anyone have experience with the sending events function for Components? What’s I’m trying to achieve is by creating an event for the component, and every art board with that component follows the event. For example, I want close an overlay by tapping the “x” button, and there are many art boards have an overlay, how do I set up the event on the “x” button component once, and it will work for all artboards?

Thanks ahead!
Amaebi

I would just put the x inside the overlay component, and tapping the x will go to an artboard in the component where the overlay is invisible.