Forum Discussion
Change State of Button When Pass Test
- 23 days ago
Your trigger on 1.1 that tries to change the state of the Play Button to Visited fires when the .ScorePercent variable changes, but the trigger is only "listening" for that on the slide the trigger's hosted on. When the learner navigates to 2.1 and 2.2, the Score might change but that state-change trigger is no longer active because we're no longer on the slide where it lives.
Then when the learner returns to 1.1 after scoring 100%, the slide (re)loads and the trigger becomes active again, but the Score variable doesn't change after 1.1 loads so the trigger doesn't fire and the state doesn't change. If you change the trigger to
Then the trigger will check the value every time the slide loads, and returning with a score of 100 will then be checked and confirmed.
Another question on the same subject? Is it possible to change the state of an object when that object is inside a group? I successfully changed the state of an object outside a group but when I grouped the object, then the trigger doesn't work. Any ideas? I can send a sample again if this isn't clear.
Hi RachaeLeyba​,
Thanks for reaching out!
Grouped objects don't retain the states of the individual objects inside them. That's because states can only be applied to individual objects, not to grouped objects. For more details, please check out this article:
You may also find this discussion helpful, as it covers a similar scenario. If this functionality would improve your workflow, I'd be happy to share your feedback with our product team!
Related Content
- 1 year ago
- 9 months ago
- 5 months ago