Mathf.Max(number[] values)
Returns largest of two or more values.
Parameters:
Name | Type | Description |
---|---|---|
values | number[] | values |
Returns:
type | Description |
---|---|
number | Returns the largest of the values. |
Usage
---@type number
local values;
local val0 = Mathf:Max( values)
umber local a;
---@type number local b;
local val0 = Mathf:Max(a, b)