Hide button when scene completes

Oct 10, 2023

I have inherited a project where custom next and back buttons are on the master slide. The newest stakeholder wanted to stop people from just clicking the next button, so asked to put a cover over the next button until the slide ended. I did, and now they want to have the button disappear AFTER they have viewed all the slides. I added a TRUE/FALSE variable (coursecomplete) and on the last slide added a trigger to set the value to true when the timeline begins. I then went to each slide and added a trigger to set the state of the blocker to hidden when the timeline starts on the slide if  the variable is true. It is not working as I expected as the cover does not become hidden when someone goes back and restarts the module. Any ideas or suggestions?

4 Replies
Nedim Ramic

Hi Kevin,

I'm just curious. You wrote: ...when someone goes back and restarts the module. How the module is restarted? Did you use the Restart course trigger? This trigger will reset the "CourseComplete" variable to 'False' as soon as you jump back to the beginning of the course. If you simply jump to the first slide from the last slide in the module the "CourseComplete" variable will retain its "True" value, and the state of the blockers will be set to hidden as expected. 

Jose Tansengco

Hi Kevin, 

Happy to chime in!

There are also alternative ways to hide an object, such as settings its state to 'Hidden' so you don't have to add any additional objects to cover your navigation buttons. 

You can also use the 'Disable' state if you're using buttons for your navigation as a built-in way to prevent your learners from clicking ahead and skipping sections of the course. Combining usage of these two states along with variable references should accomplish what you need provided that you aren't restarting the entire course and resetting your variables. 

Would you be willing to share a copy of your project file here or in private by opening a support case so we can take a look at what you currently have setup? This will make it easier for the community to share suggestions that might help. If you share your file through a support case, we'll delete it when we're done testing!

Kevin Trenholm
  • Thank you both for responding.
  • Nedim - what I mean about going back in is through the LMS (probably should have said that ). They complete the training, but then want to go back and review something like 3 weeks later. They go to the website, re-launch the module, but the blockers are still there. 
  • Joe - It is when they are restarting the entire course. If they use the back button to go to the previous slide, I have the blockers being hidden based on the slide being viewed.

    I think I need the LMS to somehow let the module know it is completed when they re-launch.
Nedim Ramic

I understand. Then the attempt management should be handled by the LMS. When the course is complete a new attempt should not be forced or started when the course is relaunched. This way your variables would have retained their changed values. The reason the blockers are still there again is because variables are set back to 'False'. It's just like you had the course restarted from the beginning. Everything is reset. Other than that, I don't see any other reason for this not to work as intended.