Hello, I have knowledge at the beginner level and I would like to know what code to use to maintain a visible access point when clicking on a layer and that remains visible when I return to it and in the rest of the panoramas that the hotspot is not shown, Can someone help me? Thanks.
<layer name="intro_game"
url="img/introgame.png"
align="center"
width="prop" height="50%"
keep="true"
handcursor="true"
enabled="true"
visible="false"
alpha="0"
onclick=" show_cofre());"
/>
<hotspot name="cofre" url="img/cofre.png" keep="false" visible="false" ath="174.324" atv="18.885" scale="0.6" distorted="true" onclick="add_score_cofres(); hide_cofre();" />
<action name="show_cofre">
set(hotspot[cofre].visible, true);
set(hotspot[cofre].alpha, 0);
tween(hotspot[cofre].alpha, 1. 0.5);
</action>
<action name="hide_cofre">
tween(hotspot[cofre].alpha, 0.0, 0.5, default, set(hotspot[cofre].visible, false));
</action>