List Slice

Extracts a portion of a list, starting at "Start" and ending before "End".

Negative indices count from the end of the list. If the index of "Start" equals or exceeds "End", the result is an empty list.

Interface

Inputs

ParameterDetailsPossible Types
List

The list of data to take a portion of.

Primary Input

Artboard[]
Color[]
Gradient[]
Graphic[]
Raster[]
String[]
Transform[]
Vec2[]
Vector[]
bool[]
f32[]
f64[]
u32[]
u64[]
Start

The index of the first item in the portion. Negative indices count from the end of the list.

Default: 0

f64
End

The index the portion ends before, which is not included. Zero or negative indices count from the end of the list.

Default: 0

f64

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

String[]
bool[]
f32[]
f64[]
u32[]
u64[]
Vec2[]
Transform[]
Vector[]
Graphic[]
Raster[]
Color[]
Gradient[]
Artboard[]