Forum Discussion
Urgent Help Please! Conditional Trigger Not Working
Hi Ashleigh and welcome to E-Learning Heroes! 😊 Thanks for sharing the story file. I took a look at it and saw that one of the triggers prevented the layer from being hidden because either D3 or D4 would be Normal and you mentioned only one needed to be disabled for the error message to pop up. I edited your story file to get everything working (see attached). I disabled that trigger so you can see which one I'm referencing, but feel free to delete it. I added a variable to the project called "decision" and set it to False, and then added two triggers.
- Set decision to value True when the state of at least one of the rectangles is Visited.
- Show layer Unititled Layer 121 when the user drop D5 on Drop Target 01 if decision = variable False
This makes it so if the learner only needs to drag and drop either D3 or D4, they can then drag D5 without getting that error message. I hope that helps. Let me know if you have any other questions.