Forum Discussion

MelissaHesel595's avatar
MelissaHesel595
Community Member
3 years ago

Help with States

Hi all - 

I am a fairly new user (less than 2 months) and I inherited a training that we are putting the finishing touches on before being deployed into our LMS. My predecessor set up this interactivity by using states, and I've figured out the intial usability of having audio play, etc. The issue is, if you want to come back to this slide, it looks totally wonky.

I tried recreating the slide using layers instead, but then I run into user being able to click each layer with the audio playing over each other. 

I've included 2 slides in this example, so you can see how the slide reacts when you go back to it. 

Thanks in advance for any help you can provide! 

  • Hi, Melissa, and welcome to E-Learning Heroes! ✨

    Thank you for sharing the sample .story file!

    How would you like the user's experience to be when they return to the initial slide? If you want them to see it the same way they saw it the first time around, one option is to change the when revisiting option to Reset to initial state. You can do that from the Slide Properties:

    Windows 10 (1) 2022-06-22 at 1.18.58 PM

    Let me know if this works for your design!

  • Hi Maria, 

    I was hoping to have it resume the saved state, but when I set the slide properties to that and then come back to the slide, this is what I have:

  • Ok, I found the reason why it's showing that way, so I can correct that. It was an additional state on one of the other rectangles. 

     

  • Hi, Melissa.

    As you mentioned, it looks like all the objects are groups of larger rectangles and smaller rectangles, but the selected states were added to each separately:

    Larger:

    Windows 10 (1) 2022-06-22 at 2.03.18 PM

    Smaller:

    Windows 10 (1) 2022-06-22 at 2.03.50 PM

    You also have the rectangles starting in the Disabled state, and then changing to normal when the audio completes. This is causing them to revert from the Visited state when the user returns to the slide. If instead, you can start them in the Normal state and delete/disable those triggers, it should work as expected:

    Windows 10 (1) 2022-06-22 at 2.28.48 PM

    I hope this helps!

  • Hi Maria, 

    I had them start in the disable state because that was one of the solutions I found to ensure that the learner listens to the audio in full before being able to click on the buttons. Is there another way to do that? 

    My SME wants to be sure that the learner has to listen to all of the audio before being able to move on. She doesn't want the learner to be able to fast forward through the content.

    Thank you for your help! I really appreciate it. :-) 

  • Hi, Melissa.

    There are a few different ways you can set this up. Using variables will allow you to be very precise on the user's experience, for example. However, here's a simple solution that might work for you:

    • Start the rectangles in the normal state.
    • Delete the triggers that change them to normal when the audio completes
    • Create a transparent shape on top of the rectangles.
      • This will prevent the user from clicking them.
    • Create a trigger that changes the state of the shape to hidden when the audio completes.

    If you want the audio on each layer to replay when the user re-visits the slide, you can also change the layer's setting to Reset to initial state:

    I hope this helps!