Forum Discussion

ErinVincent-706's avatar
ErinVincent-706
Community Member
3 years ago

Is there a way to toggle between 5 layers using only two buttons?

I'd like to toggle between layers using a couple of arrow buttons, in a photo carousel-style view. So the right arrow pushes forward to the next layer, and the left arrow pushes to the previous layer.

Is this possible? Thanks!

  • MichaelHinze's avatar
    MichaelHinze
    Community Member

    Sure, it's possible. Create a numeric variable. The right arrow increase the variable, the left arrow decreases it. Then add triggers to Show layer_1 when variable changes if variable=1, and so on.