UI.Vision Array Script Error

I am not sure what your exact error is, but here is a working example: