Variable toggle not functioning as explected

Sep 23, 2021

Hi all,

I have been asked to build in a method for users to navigate a course without use of the mouse.  To do this, I am building in keystrokes that will drive the course.  

At the beginning of the course, I give the learner an opportunity to select which version of the course they want by clicking the letter 'A'  (for accessibility) and to undo that selection by clicking the letter 'U'.  

I have set the variable to a true (A) or false (default or U) and put this trigger on the master slide.

What should happen is that when the variable is 'True",  some elements will appear on the slide, when False, other elements appear.  This is only working partially for me.

I have attached a demo version of a couple of slides of my course.  I included at the top of the slides an indicator as to whether or not the variable is Ture or False.  

Ideally, the learner would be able to toggle between the two versions if needed, but I am also fine with it being a one time selection that sets the stage.  I do know that I could create another Scene and create an accessible version of the slides that do not require a mouse, but I would prefer to keep fewer slides in the course.  If did two versions, the course would have over 80 slides.  

4 Replies
Maria Costa-Stienstra

Hi, A.H.,

Thank you for sharing your .story file!

If you want the users to be able to toggle between the two versions, my suggestion would be to connect the triggers to "when the variable changes". For example:

  • Change the state of Continue 1 to Normal when Accessibility changes if Accessibility = False

I am attaching an edited version of your .story file here so you can review those changes.

Here's what it looks like:

Screen Recording 2021-09-23 at 03.03.58 PM

Let me know if this works!

Andrew Hoskins

Thank you  - but one more question.  Say there are 10 slides, all of them have a version attached to the variable being true and also a version for the variable being false.   If the learner clicks 'a' on the first slide (making the variable true) will all of the subsequent slides show the 'True' version?  At the moment, that doesn't seem to be the case for me.  It is more likely that the learner will make that selection only once.  While it would be nice for them to be able to toggle on each slide, it is unlikely that they would do so.