Check box states in Storyline 2

Hi, I wonder if anyone can help. I have set up four checkboxes and four rectangles which are initially hidden to appear when the user selects each checkbox. So far so good. But I also want the rectangle to disappear when I uncheck the box. I assumed I could do it the same way by using a trigger to change the state of the rectangle to hidden when the checkbox is disabled, but that doesn't do it. Am I missing something or is there a better way to do it? Any suggestions welcome

8 Replies
Alexandros Anoyatis

Hi Paul,

The most reliable way to do this is to set up a T/F variable (say 1, 2, 3, 4) for each rectangle, then create a trigger in the form of adjust value of variable 1 to NOT assignment when user clicks checkbox 1, then add two more triggers in the form of change state of rectangle 1 to hidden when user clicks checkbox 1 and checkbox 1==true and change state of rectangle 1 to normal when user clicks checkbox 1 and checkbox 1==false. Set initial state of the rectangle to hidden. Rinse and repeat for the other three checkboxes/rectangles.

Hope this helps,
Alex