Change state of object on other layer

Dec 10, 2020

Hey Everyone,

I have a slide with 2 layers. The layer of interaction is the 1st layer in the middle. The base layer has an image that can be moved with a drop freeform.

From the first layer, the learner clicks to get a drop down menu with 5 options of which one has to be clicked. The click hides the layer and gets the user back to the middle.

On that middle layer a text should appear, based on the selection. I created a text field with 5 states for that.

What I want to do now, is to change the state of  the text filed (middle layer), based on the click on the top layer. 

The problem I run into, I can connect the trigger to any object on the top layer and the base layer, but not the middle layer. Any ideas how a click on one layer can affect an object on another layer that is not the base layer?

6 Replies
Moritz Weber

You can also create a variable "XY" and then create a trigger on the middle layer that says "change state of..." when variable XY changes. 


The trigger that you wanted to use earlier to change the state, you can use now to change the value of the variable XY. And that will change the state of the object on the middle layer.

Niels Vollrath

Sadly both of these solutions don't work. I created a simpler version of the slide and attached it here. Did I overlook something? Theoretically, it should work. I tried the 'timeline starts' option before already but couldn't make it work. I thought the 'when variable changes' trigger would be the solution, but that doesn't' work either.

Moritz Weber

If I understood you correctly, the issue is that you have to uncheck the option "hide other layers" in the layer settings. Your triggers in your .story are set correctly. I am attaching my .story here with the correct layer settings and an explanation screenshot to show you where to find it.

Does this solve the issue?