Forum Discussion

KristenJahn's avatar
KristenJahn
Community Member
2 years ago

Display layer when trigger happens x amount of times

Hello!

I'm wondering if this is possible. 

Right now:
When the Learner clicks the Hotspot, they will advance to the next slide. If they click anywhere else on the screen, a "Wrong Answer" layer will appear (where they can navigate back to the base layer to try again). 

Is it possible to have a layer appear with a hint if the Learner triggers the "Wrong Answer" x amount of times, say 3 times?

  • Nedim's avatar
    Nedim
    Community Member

    You would need a custom number variable (eg. max3) with initial value of 0. Adjust variable Add value 1 to max3 when the user click outside Hotspot. Show layer "Wrong Answer" when max3 changes if max3 = 3. This could be customized further in the project to tailor your exact requirements. 

  • KristenJahn's avatar
    KristenJahn
    Community Member

    I'm sorry i'm not fully following.

     

    Action: Show layer - Hint Layer

    When: ... ?

  • KristenJahn's avatar
    KristenJahn
    Community Member

    Wow thank you so much. That is so helpful!!! Much appreciated.