Forum Discussion

AlixGrotewold's avatar
AlixGrotewold
Community Member
3 years ago

How to lock a hotspot after it's been clicked once.

I am developing an escape room style course with multiple hotspots. Is there a way to make the hotspot show a different layer if it is being revisited.

For example: the first time the learner selects the hotspot they are to answer a question and get a learning point. If the learner accidentally opens that same hotspot, I want it to show a slide saying "you've already visited this hotspot, keep searching for other clues".

 

3 Replies

    • Create a T/F variable with a default value of False. 
    • Use a trigger with a condition and an Else to show the appropriate layer.
      • Show the content layer with the condition that the variable = False.
      • Else show the warning (You've already visited this hotspot) layer. Thus, that will show when the variable = True.
      • For example, the trigger might look like this: 

    • Add a trigger to the hotspot that adjusts the variable to True. (Be sure this trigger comes after the trigger that opens the layer.)
  • AlixGrotewold's avatar
    AlixGrotewold
    Community Member

    Thank you, Judy! How did you get "hotspot1clicked" as a variable? I have my 8 hotspots inside the 360 image (base layer) and then my 8 challenge questions/feedback on separate layers outside of the image. (see screenshot below) Is this effecting my ability to have this capability?

    Base Layer:

    Inside 360 Image: