Forum Discussion

NicolaAnderson's avatar
NicolaAnderson
Community Member
3 years ago

Triggers not working as expected

Hi, my triggers aren't working as I would have expected, and I can't for the life of me work out why!  The scenario is:

I have a slide with multiple layers.  When boxes are clicked on the base layer, the learner is taken to another layer.  Once the layer has been reviewed, they click the "Back" button.

What I would like to happen is: if they have clicked each of the boxes on the base layer (and seen each of the layers), the "Back" button on the final layer they see takes them to the "End" layer.  If they haven't clicked all of the boxes yet, the "Back" button should take them to the base layer.

I have set up variables for each of the boxes, so that the variable changes from False to True once they have clicked it.  Then, with the "Back" buttons I have put in the following Triggers:

1. Show layer End when the user clicks Back if X variable = True AND Y variable = True (AND all other variables = True)

2. Hide layer This Layer when the user clicks Back if X variable = False OR Y variable = False (OR any other variables = false)

I have checked that all the variables are changing to True, but when I preview the course I never get to the End slide!  Even though all variables are set to True, the final time I hit Back, it stills goes to the base layer.

What have I done wrong?!

Thank you

  • Hi, Nicola,

    It sounds like you've got it set up correctly. If you upload the file (ideally, just a copy of that slide), someone might be able to see what's going wrong. 

  • Hi Judy, 

    Thanks for coming back to me - I found out the problem!  I had managed to add in an incorrect variable by accident *facepalm*.  I was going to delete this message, but it was showing as reported, so I couldn't!