The absolute value function (abs) removes the negative sign from an input value, if present.
With a vec2 input, this applies separately to the X and Y components. For the overall length of a vec2, see the "Magnitude" node instead.
Interface
Inputs
| Parameter | Details | Possible Types |
|---|---|---|
| Value | The number to be made positive. Primary Input | Integer[]IntegerNumber[]NumberVec2[]Vec2 |
Outputs
| Product | Details | Possible Types |
|---|---|---|
| Result | The value produced by the node operation. Primary Output | NumberNumber[]IntegerInteger[]Vec2Vec2[] |