Skip to main content

Mathf.Min(number[] values)

Returns the smallest of the values.

Parameters:

NameTypeDescription
valuesnumber[]values

Returns:

typeDescription
numbersmallest of the values.

Usage

---@type number
local values;


local val0 = Mathf:Min( values)

`lua ---@type number local a;

---@type number local b;

local val0 = Mathf:Min(a, b)