Length

The number of elements in an array.

Node id array/length

The Length node outputs how many elements array has.

Inputs

NameTypeDefaultNotes
arrayArray<T>—generic

Outputs

NameTypeNotes
lengthnumber

Behaviour

  • Nothing connected counts as an empty array: the length is 0.
  • Last index. The last element is at index length - 1, or simply -1 (see Get).
  • Get: reads an element by index.
  • Range: with Length as count, the indices of an array.
© 2026 Wirepaint