I'm trying to follow an example with pageComponent that has indicators switching at the bottom to show the currently selected screen in a carousel. But I can't figure out why I have an error here. The weird thing is that if I just declare something from the array like:
allIndicators.opacity = 1.0
It works. That makes me think there's something wrong with the way I define the variable "current" since it errors when I use it as an index number in the array.