3 Replies
Michael Hinze

If you want to change the state of an object when a layer's timeline ends, add a trigger to the layer, something like: Change state of object xyz to state abc when timeline ends. If the layer is manually hidden by clicking some button/object then add Change state of object xyz to state abc when object cvx is clicked and make sure this trigger is placed BEFORE the one that hides the layer.

Muhammad Nurul islam

If the layer hides by clicking a button, then you make a variable that changes True when the layer is closed/hidden. A second variable changes the states of the button. 

for example

First variable layer_view=False

First Trigger, adjust variable layer_viewto True  when user clicks Close button

Second Trigger change state of [Button] to [state] when layer_view equals to True

that's my two cents