Skip to content

Api > Vector4 > Max()


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

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

Parameters:⚓︎

Name Type Description
lhs Vector4 lhs Vector4
rhs Vector4 rhs Vector4.

Returns:⚓︎

type Description
Vector4 Vector that is made from the largest components of two vectors.

Usage⚓︎

---@type Vector4
local lhs;

---@type Vector4
local rhs;


local val0 = Vector4:Max(lhs, rhs)