Overview
Splits a list into individual output ports (the reverse of list_create).
Use it to separate list elements into different wires and send each one through
different processing or previews.
Usage tips
- Its main use is distribution where each element has a different role, such as splitting a four-color palette into four wires and assigning each color to a different part.
- If every element gets the same processing, use
list_map; there is no need to split the list. Unpack only when the processing differs by element. - The slot count (the
countparameter) is at most 16. Elements beyond that are not output, so uselist_slicefirst if you need to select a range.
Related nodes
list_create— reverse direction (individual values → list)list_get— when one element is enoughchannel_split— a similar operation for image channelspalette_get— a more direct choice for one color from a palette
Technical details
item_typelinks the type of thelistinput and eachitem_noutput.countis the number of visible output slots, separate from the actual list length.- The
countoutput returns the number of elements in the list that arrived. - A
Palettecan be unpacked asList<Color>. Anycan unpack mixed lists, but downstream nodes may warn about type mismatches.
Examples
- Split a
List<Image>into outputs for multiple previews or branches. - Unpack a color palette and send each color to a separate node.
- Use the
countoutput so another node can read the current number of valid candidates.