Skip to main content

Vector2.Max(Vector2 lhs, Vector2 rhs)

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

Parameters:

NameTypeDescription
lhsVector2
rhsVector2

Returns:

typeDescription
Vector2Max

Usage

---@type Vector2
local lhs;

---@type Vector2
local rhs;


local val0 = Vector2:Max(lhs, rhs)