Skip to content

Api > Vector4 > Operator ( - Vector4 )


Operator ( - Vector4 )⚓︎

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

Symbol RHS Type Result Type
- Vector4 Vector4

Usage⚓︎

---@type Vector4
local obj;

local result = -obj;