Arrays. How to pick an element?!

I have an object property A , type of arrayLink, like [a, b, c], where a,b,c — IDs of other objects.
How can I deal with A[0], A[1], etc? I couldn’t manage

There is a trick. Arrays in Directual are… strings!
So you have to turn ON ‘Evaluate as JS expression’ and type:

A.split(',')[0]
it will return a in your case.

Here are many examples in the doc

1 Like

Thank you, That works!