Lacing in code block, still a mistery

Hello,
how do I get the list in green using the code block syntax in yellow?

This writing returns the third index of item index 0: x[0][3]
what returns the third index of ANY item index?

I thought this: “x<>[3]” or this "x[3] would work, but they dont…

thank you

Here you go!

4 Likes

The code you’re using in your codeblock is shorthand, not actual design script. That’s why you can’t use list levels or lacing with it. You have to use the full GetItemAtIndex like Amol has shown.

4 Likes

Got it, thank you.

I think I will stick with nodes, the design script is too cryptic…

thanks

regards

You can always choose your nodes and right-click the canvas and choose node to code to find the syntax :slight_smile:

1 Like