Forum Discussion
Conditional trigger after all hovers are complete
Hi there!
I'd create T/F variables for each button [Hover#] plus an additional AllHovered T/F variable for each set. Each button gets 2 triggers:
Set Hover1 to True when user hovers over button 1
Set AllHovered to True when user hovers over button 1 if Hover1 is True AND Hover2 is True AND Hover3 is True.
And to cue the learner that your Next button [NEXT] is/is not enabled:
Set state of NEXT to disabled when the timeline starts if AllHovered is = to False
[if you don't want to torment your learners their second time through😉]
then:
Set NEXT to Normal when AllHovered = to True
Most of these triggers can be created once then copied, just editing the variable # or button # [in bold above].
There may be slicker options, but this works for me.
Cheers and good luck!
ps... what Judy and Phil say is absolutely right re accessibility. Hover is also inconsistent on mobile devices. But the above would also work with 'clicks on' and you wouldn't need the variables at all - just:
Set NEXT to disabled when the timeline starts if and enable when all states are visited. If they're not meant to stay 'visited', you could use 'selected' states instead and make them part of a button set. Clear as mud? (good luck!)