Button to trigger hotspot in 360 view

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

Fri Nov 09, 2018 11:12 am

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?

Greg :D :D
Capture.JPG (212.42 KiB) Viewed 689 times
User avatar
Posts: 11277
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK

Mon Nov 12, 2018 9:29 pm

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(¬).
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
Post Reply