Data: List

Nodes in this category build, reorder, filter, and pick from lists of items, and loop over them to transform each one.

Nodes

NodeDetailsPossible Types
Count

Node description coming soon.

ListDyn → Number
Extend

Joins two lists of the same type, extending the base list with the items from the new list.

String[] → String[]
Bool[] → Bool[]
Number[] → Number[]
Integer[] → Integer[]
Vec2[] → Vec2[]
Transform[] → Transform[]
Vector[] → Vector[]
Graphic[] → Graphic[]
Raster[] → Raster[]
Color[] → Color[]
Gradient[] → Gradient[]
Artboard[] → Artboard[]
Stroke[] → Stroke[]
Filter

Keeps chosen items from a list (those corresponding to true values) and discards the others (those corresponding to false values) based on the Keep Pattern Bool list. A short pattern is repeated over the remainder of the filtered list, allowing a pattern like [true, false] to keep every other item starting from the first. An empty pattern keeps all items.

String[] → String[]
Bool[] → Bool[]
Number[] → Number[]
Integer[] → Integer[]
Vec2[] → Vec2[]
Transform[] → Transform[]
Vector[] → Vector[]
Graphic[] → Graphic[]
Raster[] → Raster[]
Color[] → Color[]
Gradient[] → Gradient[]
Artboard[] → Artboard[]
Indices

Counts out the index of each item in a list (0, 1, 2, and so on), producing a list of numbers with one for each item.

ListDyn → Number[]
Item at Index

Returns the item at the specified index in a list, keeping its attributes.

If no value exists at that index, the element type's default is returned.

String[] → String
Bool[] → Bool
Number[] → Number
Integer[] → Integer
Vec2[] → Vec2
Transform[] → Transform
Vector[] → Vector
Graphic[] → Graphic
Raster[] → Raster
Color[] → Color
Gradient[] → Gradient
Artboard[] → Artboard
Map

Node description coming soon.

String[] → String[]
Bool[] → Bool[]
Number[] → Number[]
Integer[] → Integer[]
Vec2[] → Vec2[]
Transform[] → Transform[]
Vector[] → Vector[]
Graphic[] → Graphic[]
Raster[] → Raster[]
Color[] → Color[]
Gradient[] → Gradient[]
Artboard[] → Artboard[]
Number Sequence

Generates a list of evenly spaced numbers, starting at a value and progressing by a step (which may be positive, negative, or zero) for a given count.

→ Number[]
Remove at Index

Returns the list with the item at the specified index removed.

If no value exists at that index, the list is returned unchanged.

String[] → String[]
Bool[] → Bool[]
Number[] → Number[]
Integer[] → Integer[]
Vec2[] → Vec2[]
Transform[] → Transform[]
Vector[] → Vector[]
Graphic[] → Graphic[]
Raster[] → Raster[]
Color[] → Color[]
Gradient[] → Gradient[]
Artboard[] → Artboard[]
Reverse

Reverses the order of the items in a list, so the last item comes first and the first comes last.

String[] → String[]
Bool[] → Bool[]
Number[] → Number[]
Integer[] → Integer[]
Vec2[] → Vec2[]
Transform[] → Transform[]
Vector[] → Vector[]
Graphic[] → Graphic[]
Raster[] → Raster[]
Color[] → Color[]
Gradient[] → Gradient[]
Artboard[] → Artboard[]
Shift

Shifts the items in a list by a number of positions. With wrapping, items pushed off one end reappear at the other. Otherwise they are dropped, shortening the list.

String[] → String[]
Bool[] → Bool[]
Number[] → Number[]
Integer[] → Integer[]
Vec2[] → Vec2[]
Transform[] → Transform[]
Vector[] → Vector[]
Graphic[] → Graphic[]
Raster[] → Raster[]
Color[] → Color[]
Gradient[] → Gradient[]
Artboard[] → Artboard[]
Shuffle

Randomly reorders the items in a list. The same seed always produces the same ordering.

String[] → String[]
Bool[] → Bool[]
Number[] → Number[]
Integer[] → Integer[]
Vec2[] → Vec2[]
Transform[] → Transform[]
Vector[] → Vector[]
Graphic[] → Graphic[]
Raster[] → Raster[]
Color[] → Color[]
Gradient[] → Gradient[]
Artboard[] → Artboard[]
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.

String[] → String[]
Bool[] → Bool[]
Number[] → Number[]
Integer[] → Integer[]
Vec2[] → Vec2[]
Transform[] → Transform[]
Vector[] → Vector[]
Graphic[] → Graphic[]
Raster[] → Raster[]
Color[] → Color[]
Gradient[] → Gradient[]
Artboard[] → Artboard[]
Sort

Reorders a list's items from smallest to largest, either by each item's own value or by a parallel list of sortable values in the Sort Order input. The sort is stable, so items with the same sort order retain their relative positions.

String[] → String[]
Bool[] → Bool[]
Number[] → Number[]
Integer[] → Integer[]
Vec2[] → Vec2[]
Transform[] → Transform[]
Vector[] → Vector[]
Graphic[] → Graphic[]
Raster[] → Raster[]
Color[] → Color[]
Gradient[] → Gradient[]
Artboard[] → Artboard[]