question about variable

Nov 25, 2019

Hi, 

In advance, sorry for my English, l'm french and i speak English not often. 

I try to adjust variable in my course but i Don't know how to do this.
i want that When you click on the magnifying glass to go to explanations, the picture becomes a magnifying glass with check Inside after when you come back in the menu.

 

I Don't know if my request is clear, but i hope so ! 

 

Thanks in advance :)

5 Replies
Nancy Woinoski

Hi Tracy, here is how to set up your slide with the variable.

1. Add a custom state to your magnifying glass image - this state should include the check that you want to display after the user returns to the menu.

2. Create a true/false variable and set the default value to false.

3. On the slide that contains the magnifying glass add a trigger that says Adjust the variable to true when the user clicks the magnifying glass. Make sure this trigger comes before the trigger that shows the explanation slide or layer.

4. Also on the slide with the magnifying glass add a trigger that says change the state of the magnifying glass to the custom state when the timeline starts if the variable is equal to true.

 

OWEN HOLT

Yes, each magnifying glass would need it's own variable.

Another way to do this would be to just use a state change and not use a variable at all.

On each magnifying glass image, include a "visited" or "clicked" state that has your image with the check inside.

On Click:

  1. Change the state of the image clicked to "visited".
  2. Then navigate to your explanation. 

Be sure the state change happens first before you navigate away from the slide or it won't actually trigger.

This discussion is closed. You can start a new discussion or contact Articulate Support.