Push

Adds a value at the end of an array.

Node id array/push

The Push node outputs a new array: array with value added as its last element.

Inputs

NameTypeDefaultNotes
arrayArray<T>—generic
valueT—generic

Outputs

NameTypeNotes
arrayArray<T>generic

Behaviour

  • A new array. The connected array is unchanged, so other nodes using it still see it without the new element.
  • Nothing connected to array counts as an empty array: the result holds only value.

Errors

  • value must be connected: being a generic pin, it can't be set in the property inspector.
  • Unshift: adds at the start instead.
  • Pop: takes the last element out.
  • Concat: adds a whole array.
© 2026 Wirepaint