Skip to content

Api > Vector3 > Max()


Vector3.Max(Vector3 lhs, Vector3 rhs)⚓︎

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

Parameters:⚓︎

Name Type Description
lhs Vector3
rhs Vector3

Returns:⚓︎

type Description
Vector3 vector that is made from the largest components of two vectors.

Usage⚓︎

---@type Vector3
local lhs;

---@type Vector3
local rhs;


local val0 = Vector3:Max(lhs, rhs)