Require All Layers of a Slide to Be Viewed before leaving slide

I am creating a number of slides which will have a number of hot spots that the user must click to learn about various topics.  I have set those hot spots to open a layer, and there is close button there which returns to the original slide with a visited state on the hotspot.

I would like to require that the user clicks all hot spots before being allowed to select the Prev or Next buttons.  Any easy way to do this?  

I am beginning to think about using a variable, but wondered if there was any easier way?

Thank you!

14 Replies
Brent Berheim

Michael Hinze said:

The variables are changed when the Close button on each layer is clicked. As always, there are lots of different ways to achieve the same result, For example, I could have set a the variables to true at the start of each layer's timeline, rather than on button click. Hope that makes sense.


Doh!  I completely missed that - and it probably makes more sense to have the trigger there.  Thanks for your great suggestions and demo!

Brent Berheim

M. Bosscher said:

Instead of using variables, keep it simple and just use the visited state on whatever "button" was used to open each layer. Much simpler IMO.


Hi - I think I get what you are meaning, but wanted to clarify.  I think you are saying creat an "if statement" on the Next button that would say something along the lines of Move to Slide XXXX if ALLL of the five buttons are at the visited state, right?  I am not seeing how to specify that...

M. Bosscher

Brent Berheim said:

M. Bosscher said:

Instead of using variables, keep it simple and just use the visited state on whatever "button" was used to open each layer. Much simpler IMO.


Hi - I think I get what you are meaning, but wanted to clarify.  I think you are saying creat an "if statement" on the Next button that would say something along the lines of Move to Slide XXXX if ALLL of the five buttons are at the visited state, right?  I am not seeing how to specify that...


Yup.  Instead of checking the value of a variable, just check the state of a button. No need to create the variable and assign a value to it.  If you are doing this for a lot of slides, the variable maintenance can get cumbersome.

Michael Hinze

M. Bosscher said:

Brent Berheim said:

M. Bosscher said:

Instead of using variables, keep it simple and just use the visited state on whatever "button" was used to open each layer. Much simpler IMO.


Hi - I think I get what you are meaning, but wanted to clarify.  I think you are saying creat an "if statement" on the Next button that would say something along the lines of Move to Slide XXXX if ALLL of the five buttons are at the visited state, right?  I am not seeing how to specify that...


Yup.  Instead of checking the value of a variable, just check the state of a button. No need to create the variable and assign a value to it.  If you are doing this for a lot of slides, the variable maintenance can get cumbersome.


Brent, look a the version 2 of my sample file. Slide 3 shows how to check the visited state of all three buttons before going to the next slide.

Trevor Withall

Hi everyone,

I am new to creating and have a similar problem. I have a number of slides with a base layer and 2 layers of info and 1 layer with a 'incomplete' message. I have set up all the triggers so a user has to click on both hotspots to receive info before using the next button. If they click next prior to this an 'incomplete message comes up. On one project these work fine. On my recent project I have come across an issue where each slide works fine in a single slide preview however when previewing the scene I find the first slide works and then all following slides allow the user to click next without clicking on both layers. Can anyone help?

Thank you

Walt Hamilton

It sounds like you are using the same variable on each slide. The value stored in a variable persists until the program changes it, so the second page will start with the variable set to the value that ended the previous slide.  When you preview only one slide, each slide works because the variable starts with the default initial value. The best option is to give each slide a unique variable.