Max

The largest of several numbers.

Node id math/max

The Max node outputs the largest of the numbers connected to values.

Inputs

NameTypeDefaultNotes
valuesnumber—multi

Outputs

NameTypeNotes
resultnumber

Behaviour

  • Any number of inputs. values is a multi input: connect as many numbers as needed, each to its own slot.
  • Nothing connected gives -Infinity (the largest of no numbers), with no error.
  • NaN wins. If any input is NaN, the result is NaN.
  • Limiting a number. Max of a number and a limit never goes below the limit.
  • Min: the smallest number.
  • Clamp: limits a number on both sides.
© 2026 Wirepaint