Forum Discussion

amandarauscher5's avatar
amandarauscher5
Community Member
2 months ago
Solved

Hidden button will not appear on base layer

Hello friends!

I'm stuck and I feel like I've exhausted my internet searching. I'm trying to make a button that is initially hidden appear once all layers on the slide have been visited. 

I've applied variables to each object trigger (hotspot) that brings up the respective layer and even checked the variable change with a visual representation of that variable turning from false to true (XLayerVisited = False until the object is clicked and the layer is shown).

The trigger that I believe is giving me trouble at this point is the button itself. I've attached the slide as well as the trigger for the button that is initially set to Hidden.

I also tried setting the base layer properties to "reset to initial state" when visited, in case I needed the "timeline to start" over again in order for the trigger to kick off.

Any suggestions?

 

  • The trigger is set to run when the timeline starts on the slide. None of the variables = True at that point, so that trigger will never change the state of the button. 

    Possible solutions:

    Instead of hotspots, you could use shapes with a solid fill that is 100% transparent. Give each shape a Visited state, and then have the "Ready to move on" button change to Normal when the state of all those shape-buttons = Visited. 

    Another option: put a trigger on each layer that changes the "Ready" button to Normal when the timeline of the layer ends, with the conditions that all the variables = True. 

    This post and its demo file might help. It focuses on controlling the NEXT button, but the same programming works to control a custom button. TIP: Controlling the NEXT Button 101 | Articulate - Community 

4 Replies

  • The trigger is set to run when the timeline starts on the slide. None of the variables = True at that point, so that trigger will never change the state of the button. 

    Possible solutions:

    Instead of hotspots, you could use shapes with a solid fill that is 100% transparent. Give each shape a Visited state, and then have the "Ready to move on" button change to Normal when the state of all those shape-buttons = Visited. 

    Another option: put a trigger on each layer that changes the "Ready" button to Normal when the timeline of the layer ends, with the conditions that all the variables = True. 

    This post and its demo file might help. It focuses on controlling the NEXT button, but the same programming works to control a custom button. TIP: Controlling the NEXT Button 101 | Articulate - Community 

  • As noted you are checking the button at the start of the timeline. However there is an easy fix to this that only requires 1 new variable that is checked each time.

    Create a true or false variable

    Then with each Hot Spot trigger (8 in total) add Toggle toggleCHECK when user clicks (hotspotname)

    This needs to be added after your adjusted the value of the hotspot variable.

    And finally when testing for the Button change the trigger When Timeline Starts to toggleCHECK changes.

    This will cause the button to appear as soon as you click on the last remaining hotspot (in any order).

    I'd also suggest placing that button on its own layer as some of the other layers block it out.

    Also also, I've included the fixed version.

    • JudyNollet's avatar
      JudyNollet
      Super Hero

      You're welcome! 

      For basic "tabs" interactions (that is, click buttons on the base to view layers on the same slide), using the Visited state is usually the best option. 

      Variables are needed if you want to ensure the user finishes the timeline of every layer, or if you have to track that their progress through other slides. 

      Pay it forward when you can! 😊

      P.S. You might find this post and the related recorded webinar helpful: TIP: The Eightfold Path of Troubleshooting | Articulate - Community 

      Also, I'm scheduled to do a Guest Webinar about "Top 10 Tips for New Storyline Users" on October 22. At this time, though, it's not listed. I think it'll be available for registration about  45 days in advance.