Link Boolean to array index?

How do I link the picture 1 and picture 2 Bools to the array indexes. For instance if picture 1 bool is true than that is linked to array index [0]. So only array index [0] will be set hidden?

i would use two arrays of the same length to store your information or use a struct. in the case of using two arrays you just need to make the indexes match so pic 1 in the actor array and in the bool array would both be index 0. if you use a struct then you could make them into one index in the same array that stores both the actor and the bool values.

below is a example of how you could accomplish this with two arrays.

Thanks for your reply. I have spent time working through the example and I am going in the right direction.