Max
The largest of several numbers.
Node id math/max
The Max node outputs the largest of the numbers connected to values.
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| values | number | — | multi |
Outputs
| Name | Type | Notes |
|---|---|---|
| result | number |
Behaviour
- Any number of inputs.
valuesis 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.