Conditional variables and the Next Button

Just trying out my Storyline trial...

I've searched all over the site and looked at similar posts, but I haven't found one that answers this specific question:

Can I program a slide so that each layer can build as the user clicks the next button (similar to PPT)?

The problem I am having is that regardless of the variables or conditions I try, all my layers advance at once instead of building incrementally.

I want have the slide:

(1) Display layer one when the timeline begins (no problem.)

(2) Display layers one and two when the user clicks the Next button.

(3) Displays layers 1, 2 and 3 when the user clicks the Next button the second time.

(4) Jump the next slide when the user clicks the Next button the final time.

Can I do this? How?

Thank you,

Jennifer

10 Replies
Kevin Thorn

Hi Jennifer!

Glad to hear you're putting the test to your trial version. I went off and built a demo of your request not knowing you had figured it out yourself.

For what it's worth, here's an approach I took. Simple set up.

  • Create a single Number variable. I named it "Layer" with a default value of 0
  • Set up your base slide and layers how you want them to look and behave
  • Add five total triggers to the base slide
  • -  Adjust Variable - Add 1 to Layer (variable) when the user clicks the Next button
  • -  Show Layer 1 when the user clicks the Next button IF "Layer" is equal to 1
  •  - Show Layer 2 when the user clicks the Next button IF "Layer" is equal to 2
  •  - Show Layer 3 when the user clicks the Next button IF "Layer" is equal to 3
  • - Jump to Slide 2 when the user clicks the Next button IF "Layer" is equal to 4

Note: Be sure the "Add 1 to Layer" trigger is the first in the stack of triggers.

That's it. This is probably what you figured out already. If not, hope this helps solve your request.

Jennifer Zohar

This is great. Thank you. I got it to work on my slide and clicked the preview. The first time I view the slide it works great.

However, when I jump around in the course and come back, it doesn't seem to build it again. It's as if the next button doesn't reset to 0  in this case.

Any idea why this might be and how to get around it?

Jennifer

Kevin Thorn

Hi Jennifer,

When you want to go in reverse, do you want the slide to begin as it were? If so, do these two things:

  1. Add a trigger to the slide with the layers that resets that number variable back to it's initial value - Adjust Variable "Layer" =Assignment to 0.
  2. In the Slide properties, set the slide to reset to initial state.

That should allow the Previous button on Slide 2 to go back to Slide 1 as if you were visiting it for the first time.