Extract Element

Returns the bare element (without the item's attributes) at the specified index in a List. Use this when downstream nodes want just the inner value rather than a List containing a single item. If no value exists at that index, the element type's default is returned.

Interface

Inputs

ParameterDetailsPossible Types
List

The List of data to extract from.

Primary Input

List<Artboard>
List<Color>
List<GradientStops>
List<Graphic>
List<NodeId>
List<Raster>
List<String>
List<Vector>
List<f64>
List<u8>
Index

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

Default: 0

f64

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

String
f64
u8
NodeId
Color
GradientStops
Vector
Raster
Graphic
Artboard