Append struct in object to array in scene

I, for the life of me, can’t figure out how to append a struct in an object to a scene array. Is this possible?

You mean at run time and not in the editor ? You need to use JS (or at least that’s the only way I managed to do it).
I think that learned how to do it reading the code of the Array Tools extention, event though it does not exactly what you want.

Can you code in JS ?

To add a structure from an object, I guess you could convert it to a scene variable using Json.

Or directly to an element:

Oh ! :open_mouth:
I wouldn’t have thought of that…

1 Like

I wish all events worked with all variable types.

1 Like