Skip to main content

Operator ( Vector2 + Vector2 )

Adds two vectors. Adds corresponding components together.

LHS TypeSymbolRHS TypeResult Type
Vector2+Vector2Vector2

Usage

---@type Vector2
local lhs;

---@type Vector2
local rhs;

local result = lhs + rhs; -- result is Vector2