Forum Discussion
Need Variable help
I'm trying to create a situation where the learner clicks on a state on a map and it takes them to another scene and then they return to the map. I want the next button disabled until they click on a state and visit that scene and then it's state gets changed to normal.
I've tried using true/false variables where it starts at false and clicking a state makes it true which then enables the next button. But it's not working. Does anyone have a suggestion on how I can do this or perhaps where I'm making a mistake with my variable?
Hi DanielSchwar971 It looks like your trigger to set the variable is after the trigger to jump to a scene, so it would jump to the scene before the variable has a chance to be set. I'd recommend switching those as a first thing to try. If that doesn't work, let us know!
3 Replies
- DanielSchwar971Community Member
Here's a screenshot of that slide.
Hi DanielSchwar971 It looks like your trigger to set the variable is after the trigger to jump to a scene, so it would jump to the scene before the variable has a chance to be set. I'd recommend switching those as a first thing to try. If that doesn't work, let us know!
- DanielSchwar971Community Member
Thanks. That worked.
Related Content
- 9 months ago
- 9 months ago
- 9 months ago
- 9 months ago