Forum Discussion
Next button not changing states when other objects change to "selected" state
TaliaSiegel : The buttons on the Scenario Menu slide are rectangles. They have text boxes on top of them. Here's what happens: If you click on the green rectangle but outside the text-box area, the green rectangle does change to Visited. However, if you click on the text box, the green rectangle remains in the Normal state. (It seems weird to me that the trigger still runs, but obviously it does.)
The solution: enter the text directly into each rectangle. Simply double-click a rectangle, then paste the text or type it in. You can adjust where the text appears in the rectangle by editing the its Text Box settings, such as the vertical alignment and/or margins.
That's the first part of the fix.
These triggers are the next problem.
A trigger set to run "When the state of..." will only run when the state change occurs that finally meets what the trigger asks for. For example, the "When the state of all of the rectangle is Visited" trigger will run as soon as the third rectangle is clicked. However, because clicking that rectangle jumps to another slide, you won't see the change happen to the Continue button. That trigger will never run again, because the rectangles will already be in the Visited state when the user returns.
So delete those two triggers. Instead, do this:
Set the Initial state of the Continue button to Disabled.
Add this trigger:
By the way, I suggest that you give interactive objects meaningful names. That makes it much easier to troubleshoot.
Also, if you have additional questions, it's usually better to start a new discussion. New questions added to old questions are less likely to be noticed. (You can link back to an older discussion for reference if that seems appropriate.)
That is right! And thanks for the tip to open a new question. I just realized it was the text boxes! Thank you.