Forum Discussion

MicheleMicha's avatar
MicheleMicha
Community Member
3 years ago

Changing State of Next Button to Enabled when Hotspots clicked

Hi, I am working on a module that contains no audio. On some of the slides, users are prompted to click a hotspot to reveal text. 

The Next button is set to Hidden when timeline starts. 

I have set up a T/F variable - when a user clicks the hotspot, the variable changes to True. 

How do I change the state of the Next button to Normal once the hotspot is clicked (variable changes to True)? I have the following, but it's not working: 

"Set State of Next button to Normal when the timeline ends on this slide if Variable - value True."

Is it the "timeline ends" piece? When I click hotspot after the timeline ends, the Next button does not change to Normal. What should I use instead of "timeline ends"? 

Thank you!

Michele

  • If it is only one hotspot then add a trigger on the hotspot to change state of next to normal.

    If you want it when the variable changes then set it to change state when the variable changes

  • MicheleMicha's avatar
    MicheleMicha
    Community Member

    Thank you. On some slides, there are multiple hotspots to click. What should I do there? Thank you.

  • Ideally you switch to using shapes with visited states and then have a trigger to change when all states are visited, if not you need a variable for each hotspot and the a trigger for each variable being changed. Both will work the first is probably more elegant and less work.

  • MicheleMicha's avatar
    MicheleMicha
    Community Member

    Thanks. Some of the images are groups so I'll have to ungroup and figure that out but I see what you mean now. Unless you know a trick with groups? Thanks!

  • MicheleMicha's avatar
    MicheleMicha
    Community Member

    Hi, I've figured it out - all came back to me :) Thank you for your assistance.