Dynamic Informational Button

Post Reply
vizgraphics
Posts: 13
Joined: Tue Mar 13, 2018 11:42 am

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!
Attachments
zoom-pins-sample.ggsk.zip
(4.39 KiB) Downloaded 840 times
User avatar
Hopki
Gnome
Posts: 12999
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

HI,
Add this action to the hotspot template:
Source: Mouse Down
Action: Visibility
Type: Hide Element
Target: %information

Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
vizgraphics
Posts: 13
Joined: Tue Mar 13, 2018 11:42 am

This is perfect thanks!!
Post Reply