Skip to content

Array Element

Array Element
Output
Index
0
Array
null

Category Arrays
Is Pair Node: No


Retrieves an element from an array at a specified index. If the index is out of bounds, it will be clamped to the nearest valid index.


Type: Integer
Default: 0

Index of the element to retrieve. PixiEditor starts arrays at 0.

Type: Object
Default: null

Array to retrieve the element from.


Type: Object
Default: null

Value from the Array at given Index. If Index is outside of the bounds of the array, it will be clamped to 0 if Index is less than 0 and Array length - 1 if the Index is bigger.



All of our content is carefully written by hand, no AI was involved during the process.