Hello!
I'm creating indoor panorama with hotspots.
Panorama contains doors and another objects.
Here is what i need:
By clicking the door for the first time a would like to open it.
With the second click i would like to close it.
<hotspot name="door" capture="false" handcursor="false" alpha="0"
url="door_open.jpg"
distorted="true" zorder="2"
onloaded="calc_pos_from_hfov_yaw_pitch_roll(33, 178.216, -30.327, 2.214);"
onclick="tween(alpha,1);"
/>
First click works. How to implement the second click?