Ok this way does not seem to be working for what I want to do.
Can someone suggest a good way for achieving the following.
I need a 2d array for it to make sense with my square grid. When I clicking a button I want the 2d array to clear its contents and then re-fill the array based on a new size grid.
So I start with say a 4x4 grid, but then when I press a button I want to delete all objects from my previous array and have a 6x6 grid in its place, what is the best way to do that?