My brain is fried and it's probably something really simple I overlooked, but why is this not working?
Is 'layer' defined somewhere?
figured it out. I defined the array before I created the layers that go in that array. Knew it would be something dumb.
I'm sure we've all done that at one point... Live and learn!