Skip to main content

Operator ( - Vector3 )

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

SymbolRHS TypeResult Type
-Vector3Vector3

Usage

---@type Vector3
local obj;

local result = -obj;