# Lightbox slide only first time slide is visited

I am working on a project where the first slide has multiple branches and a lightbox of a video. What I want is the lightbox slide to come up only the first time the slide is visited but what is happening is that the lightbox comes up each time the slide is revisited.

I could come up with a solution where the lightbox is triggered from a different slide but I would like to find a more elegant solution.

Anyone have any ideas?

###### 4 Replies

You could use a True/False variable which starts out as False and is set to True at the beginning of the lightboxed slide. Back at the frist slide, add a trigger that shows the lightboxed slide only if the variable is False (meaning 'the first time around'). Here is a quick example.

Thanks Michael! That was exactly what I was trying to figure out how to do. I haven't used variables before, it took me a couple of tries but I got it working with your help.

Ashley, I find the variables section in the tutorials kind of sparse. If there was on section I would like to see expanded upon it would be this.