How to work with array in custom HLSL

I’d like to work with arrays in a custom HLSL script inside a Niagara module.
Am I doing something wrong in that little simple bit of code? The module won’t compile or work.
gravities is a vector array.

In searching for answers on related topics I found this which seems to answer your question:

Summary:
gravities.Get(0, outVec);