Two clicks to toggle variable?

Hi-
I'm trying to create a flip card interaction in Storyline 360 by using a toggle variable to change states on an object. Works pretty well, except the first time I click to flip the card object, I have to click twice. After that, I only need to click once to change states.

Here's my setup.

object is named Card - has 2 states: normal and FLIPPED.

Variable: cardFlip, T/F type, default value False.

Slide triggers:

1) Change state of card to FLIPPED when cardFlip changes if cardFlip is equal to False.

2) Change state of card to Normal when cardFlip changes if cardFlip is equal to True.

Card trigger -

Toggle variable cardFlip when the user clicks.

Any idea why it takes 2 clicks to initially change states? I'm sure I'm missing something obvious. story file is attached.

Thanks, Steve.

14 Replies
Steve Jones

Hi Wendy - that's exactly what I'm trying to do.  However in my .story you need to click twice to get the first "switch" to happen.

Did figure out a solution - 

added an new object (100% transparent) that's placed directly over my flip card. Add 2 triggers to this object - first changes the state of my flip card to flipped, the second hides the transparent object.

Thanks for all the responses everyone!

Vincent Scoma

Hi Jean-Marc,

Thank you for letting us know! 

Another option that might help is to convert the slide into a Pick Many question. This will allow you to:

  • Define which parts of the airplane are the correct answer.
  • Let Storyline reset the image if the learner answers incorrectly.
  • And the Reset button can be used for learners to start over if they want to undo their choices. 

You can find more details on this type of question here: Storyline 360: Pick-Many Questions

If this isn't quite the solution you are looking for, please let us know. We are happy to help!