Page 1 of 1

Button to trigger hotspot in 360 view

Posted: Fri Nov 09, 2018 11:12 am
by ggibbon
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 681 times

Re: Button to trigger hotspot in 360 view

Posted: Mon Nov 12, 2018 9:29 pm
by Hopki
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(¬).