Forum Discussion

AdeleG's avatar
AdeleG
Community Member
11 months ago

Change state of an object, when all layers have been visited independently from order.

Hello everyone,

I would like to change the state (in this case, the color) of an object (on slide, bottom left, "finger" object) once all slide's layers have been visited. Layers are triggered by clicking on (transparent) objects.  

Here you can find the said slide: 2.6Glossar_Feedback | Review 360 (articulate.com)

Would anyone be able to help me? I can't seem to find the right solution and I am wondering if that's possible in Storyline. I do not want to switch to animation (which for this slide would maybe be smart), as I will need the feature for other slides on which that will not be possible.

Thank you!

Adele

  • If all your buttons are on ther base layer and have a visited state. Select all the buttons and create a trigger to change state of you object if the state (which will select all the objects) are visited

  • AdeleG's avatar
    AdeleG
    Community Member

    Hi Phil,

    Thank you for your help - it has already brought me further!. Currently the buttons are on each layer, to allow a jump from layer 1 to layer 2 directly, without jumping back to the slide. I am now confronted with the issue, that when using this trigger, buttons (on slide but also on layer) should be all visited. 

    How would it be possible to have activ button on the main slide only, but still make them clickable and hence visted on the layers? 

    Thank you!

  • HoneyTurner's avatar
    HoneyTurner
    Community Member

    To be able to access buttons on the base layer while a layer is open, make sure the settings for the layer are correct. The Visibility should not be hiding the base layer. And uncheck "Prevent the user from clicking on the other layers" This solution only works if the base buttons won't be covered by layer content.

    Alternatively, I have set a numeric variable starting with 0. As the buttons are used, I toggle their state, but also add 1 to the variable, only if it wasn't already in the new state. Then I put a trigger for when the variable changes. When variable = total button count, then do your finger action.

    You might actually be able to simplify my solution by using visited rather than a custom state and therefore not needing to manually change the state. I've just never done it that way.

  • You can get more useful and specific answers if you will attach your .story file here.