Button to trigger hotspot in 360 view

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
ggibbon
Posts: 120
Joined: Fri Aug 01, 2014 1:02 pm

Hi Hopki

Hope you are well.
I'm trying but failing to trigger the following.
Basically I have a item within a drop down menu
which I want to toggle visibility of my
my flashing hotspot within a node.
Can't get it to show on or off within node.
Any ideas?

Thanks
Greg :D :D
Capture.JPG
Capture.JPG (212.42 KiB) Viewed 1789 times
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Greg,
If you want to address a hotspot then you need to add a hash "#" to the front of the elements ID.
Example, mouse click, hide element, #rectangle1

However this will only hide it in this node, as soon as you change nodes it will reappear.
The only way to hide and show hotspots even when changing nodes is use a variable.

So add a variable to the skin, example vis_ht, True/False, set to true.
Then in the hotspot template add a visible logic block, vis_ht = false, visible false.

Then you can use the action set variable value vis_ht to false and true.
If you want to toggle use the operation Not(¬).
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/
Post Reply