Get/Set array element

The Get/Set array element node is used for getting or setting the value from an array on defined index.



Array - the array from which you will get or set value;

Index ­- index of the element in array;

Value - the new value of element.



Using example

Get element:

Connect the array to Value pin of node and set the index of element. The out pin will return the element value:


Set element:

Connect the array to the Value pin node, set the index of element and the new Value of element:

Note: be sure that the index value is LESS than the array length, otherwise it will cause an out or range error.

To check the array length use the “Array.Length” node:

Render time: 0.01 seconds
137,025 unique visits