Index Elements

Returns the value at the specified index in the collection. If no value exists at that index, the type's default value is returned.

Interface

Inputs

ParameterDetailsPossible Types
Collection

The collection of data, such as a list or table.

Primary Input

Table<Artboard>
Table<Color>
Table<GradientStops>
Table<Graphic>
Table<Raster>
Table<Vector>
Vec<DVec2>
Vec<String>
Vec<f64>
Vec<u32>
Vec<u64>
Index

The index of the item to retrieve, starting from 0 for the first item. Negative indices count backwards from the end of the collection, starting from -1 for the last item.

Default: 0

f64

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

f64
u32
u64
vec2
string
Table<Artboard>
Table<Graphic>
Table<Vector>
Table<Raster>
Table<Color>
Table<GradientStops>