Adjust variable when layer X is visible
I have a slide with multiple layers launched with buttons from the base layer. I have a variable (V1) that turns True once all said buttons are visited. I have a rule for the built-in Next Button to move to the next slide on the condition that V1 is True. The problem is that this condition is met before the user closes the last visited layer and returns to the base layer. This would be easily solved with a condition "...AND BaseLayer=Visible" except I can't seem to find any built-in layer.active type options. Objects have states I can trigger off, but layers don't seem to have anything equivalent. Is there something I am missing? If possible, I would much prefer to stay away from a variable the value of which requires multiple (per layer) trigger entries.