Hi there, I am working with Map point of interests, and using an RG to display them. I want to be able to click on the RG and toggle its selection, which is shown visually by an outline. The outline is a group behind the content that changes the background color via a custom state. Below is an example of a selected vs nonselected tile.
How can I make it so I can toggle the outline with every click of the RG? Right now I have a basic means of highlighting it, but I want to be able to reset the border if the user clicks again. How would I structure the custom states?