Skip to main content

Operator ( Vector3 - Vector3 )

Subtracts one vector from another.

LHS TypeSymbolRHS TypeResult Type
Vector3-Vector3Vector3

Usage

---@type Vector3
local lhs;

---@type Vector3
local rhs;

local result = lhs - rhs; -- result is Vector3

Extra Detail

Subtracts each component of b from a.