What are Arrays?

Arrays are lists of items that are the same type. To add an array, we add the [] after the variable type.

We can then use the inspector to declare how many items in this array and then name them appropriately.

We can declare an array three different ways. One is through the inspector above. We can also do this in script.

The final way is to add in the values in the script at the start.