How do I fix this? Secondary triggers

Feb 02, 2024

I've created a slide where the users must click to see three options, then click a second time to make their answer choice and that gives them the feedback. I've got it working on the first and second options but can't figure out what to add so the third option doesn't show the feedback on the first click. Suggestions?

 

3 Replies
Walt Hamilton

Your problem is in the testing procedure. If you click the options out of order, you will find that it isn't Option 3 that has the problem, but the third one selected.

That's because of the trigger order:

When Cover 1 is clicked, it sets the state of Option 1 to Reveal. (By the way, well done to give the states and objects descriptive non-ambiguous names. You'll never be sorry for that.) Then it immediately goes to the next trigger. If the other two covers have been clicked, they, too are in Reveal state. Since all three are revealed, the second trigger shows the layer.

The solution is to reverse the order of the triggers on all three covers:

That way, the first time the cover is clicked, the cover is not in reveal state, and the layer isn't shown. Then the second trigger changes the state. The next time the cover is clicked, the first trigger shows the layer.