✔️ SOLVED - Do components not work with listeners?

I’m creating a map with the ability to zoom in and out on certain areas. It works when I click on the area to zoom in, but I created a button component so that if it was clicked on, it would zoom out back to the first view. I have the listener targeted to the button but it won’t go back when I click on it. Am I missing something or do components not work with listeners? Thanks in advance!