Dynamic Informational Button
Posted: Sun Jan 13, 2019 6:38 pm
Hello,
I'm trying to make a dynamic informational button that is pinned to the hotspot. I have the pinned info box in place, and a close button for the info box. What I can't get is how to close the last clicked info box when another hotspot is pressed. Currently if an info box is open and you click another hotspot, it stays open. I want to only use one component for all info hotspots. I imagine there's a way I can achieve this with a variable but can't quite wrap my head around it.
Any help would be greatly appreciated. Skin attached. Thanks!
I'm trying to make a dynamic informational button that is pinned to the hotspot. I have the pinned info box in place, and a close button for the info box. What I can't get is how to close the last clicked info box when another hotspot is pressed. Currently if an info box is open and you click another hotspot, it stays open. I want to only use one component for all info hotspots. I imagine there's a way I can achieve this with a variable but can't quite wrap my head around it.
Any help would be greatly appreciated. Skin attached. Thanks!