Changing States Based on Variables

Hi!

I have a project with multiple scenes.  I am changing the value of a variable to true when the user clicks a hotspot.  I have the state of a rectangle in another scene set to change when the variable value equals true.  It's not working as expected.  The states are not changing.  In some cases the rectangles disappear.  Does anyone have any experience with this?  If so, please share your experience.

5 Replies
Wendy Farmer

Hi Daphne

Your don't say what triggers you have so - on the slide with the rectangle is the trigger

change state of rectangle to (whatever the state is you want) when timeline starts on that slide on condition variable x = true?

that should work as long as the trigger setting the variable to true is working on the previous slide

Daniel Moore

Hi Daphne,

Could it be that 'Selected' is a generic state, the object will change to 'Selected' once it has been clicked on, regardless of triggers placed on it? You might have more luck creating a custome state called, say, 'Section Complete' and triggering this state once the variable changes to 'whatever'.

Dan