Operator ( - Vector3 )
7/14/25Less than 1 minute
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;
Negates a vector. Each component in the result is negated.
Symbol | RHS Type | Result Type |
---|---|---|
- | Vector3 | Vector3 |
---@type Vector3
local obj;
local result = -obj;