Skip to content

Api > Vector3 > Operator ( - Vector3 )


Operator ( - Vector3 )⚓︎

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

Symbol RHS Type Result Type
- Vector3 Vector3

Usage⚓︎

---@type Vector3
local obj;

local result = -obj;