Studio and Graph › Voxel › Math
Vec2 Subtract
Component-wise A minus B on two 2D vectors.

The Vec2 Subtract node
When to use it
Component-wise A minus B on two 2D vectors.
Usually the offset from one point to another, which then goes into Vec2 Length for a planar distance or Vec2 Normalize for a direction.
Pins
| Pin | Type | Description |
|---|---|---|
AX |
Number | A X component. |
AY |
Number | A Y component. |
BX |
Number | B X component. |
BY |
Number | B Y component. |
| Pin | Type | Description |
|---|---|---|
X |
Number | The result's X component. |
Y |
Number | The result's Y component. |
Available in Mesh Morpher Graph and Mesh Morpher Studio.