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.

11 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!