Cycling through an Array - Visibility one actor at a time

Hi all!

I’ve been trying to set a BP cycling through an array of actors with tags, so it only shows one actor at a time but I’ve been struggling at the minute getting the logic right.

I used a multigate/flipflop but as you can see I need to press the F key twice to make the changes:

The BP:




Construction Script for Initial Visibility

Also, the plan is to add a simple animation (Int 1 scales down, Int 2 scales up) and also adding a widget as an option with two arrows to go forward and backward.

Any help for pointing me in the right direction is greatly appreciated!

As usual, there are many ways. I would say, in your case, just get rid of the gate. Everytime you make some actor visible, store it in a variable like “currently visible” or whatever you prefer. And when you press a key, first hide “currently visible” if it is valid, and then proceed with the rest of your code.