Skip to main content

Operator ( - Vector4 )

Negates a vector. Each component in the result is negated.

SymbolRHS TypeResult Type
-Vector4Vector4

Usage

---@type Vector4
local obj;

local result = -obj;