Dynamic Informational Button

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

Dynamic Informational Button

Post by vizgraphics » 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!
Attachments
zoom-pins-sample.ggsk.zip
(4.39 KiB) Downloaded 96 times

User avatar
Hopki
Gnome
Posts: 9447
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Dynamic Informational Button

Post by Hopki » Sun Jan 13, 2019 11:00 pm

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

Regards,
Hopki

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

Re: Dynamic Informational Button

Post by vizgraphics » Mon Jan 14, 2019 5:47 pm

This is perfect thanks!!

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests