Skip to content

Api > Vector4 > Operator ( Vector4 - Vector4 )


Operator ( Vector4 - Vector4 )⚓︎

Subtracts one vector from another.

LHS Type Symbol RHS Type Result Type
Vector4 - Vector4 Vector4

Usage⚓︎

---@type Vector4
local lhs;

---@type Vector4
local rhs;

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