Hello. Using an array, what conditions should I use to check if all the values of the width are equal to 1?
For instance, I have an array of Width: 5, and I need a condition that does something when all the 5 cells of the width contain the value 1.
Another way it could work is if there was a way of adding up the values, so if all the values in the X of the array equal 5, then do something. That would also work for me. I would prefer this way actually. Thanks.