How reset a layer timeline
I am nou sure what I am doing wrong on this course.
I have a slide with 8 layers. On each layer there a button to move to the next layer and another one move to the previous layer. I defined a variable " layerState" and added a layer trigger on each layer to assign the variable with the layer number when the layer timeline start. Layer1 will set the variable to 1, layer2 to 2 etc..
All layers and base layer Revisit property is set to "Reset to initial state".
The variable is behaving as expected when I navigate from 1 to 7, however when I revisit a layer with the previous button, the variable value is not being updated. It keeps the highest value reached, meaning if i navigate to layer 4 and then reverse to layer 3, 2 or 1 , the value remains at 4.
Thanks you help is higher appreciated