Skip to content

Api > Vector2 > Min()


Vector2.Min(Vector2 lhs, Vector2 rhs)⚓︎

Returns a vector that is made from the smallest components of two vectors.

Parameters:⚓︎

Name Type Description
lhs Vector2
rhs Vector2

Returns:⚓︎

type Description
Vector2 Min

Usage⚓︎

---@type Vector2
local lhs;

---@type Vector2
local rhs;


local val0 = Vector2:Min(lhs, rhs)