IntArray

Read with AI
All docs in one file (llms-full.txt)
IntArray #Variable #Node
IntArray

Holds a variable-length list of ints and outputs the element at Index to Value. You edit the contents of the list on the node (+ Add to append, the field on each row to edit, - to delete). It suits building banks of “parameters selected by number”, such as BlendMode.

  • A newly created node contains the two elements 0, 1
  • Index wraps by modulo (Index % element count; a negative Index wraps around to the end). It is not clamped, so plugging in a Counter as-is cycles through the list
  • The header on the node shows [selected number] = value

When the list is empty, the default value 0 is output explicitly so that no old value lingers downstream.

Input ports

Port IDType
Indexint

Output ports

Port IDType
Valueint

Scriptable members

PathType
indexInputint

Synapse Apps (scripting)

await synapse.modules.create({ type: "IntArray" })

Pages linking here

Also referenced from