> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/math/subtract-vectors.md).

# Subtract Vectors

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-25891531b7866f7b37d698ebf5b6df30a55cc177%2Fsubtract-vectors.png?alt=media)

## Description

Returns the difference between two input vectors

## Node Type

Nodes fall into two basic categories: Data and Execution. This node supplies Data for an Execution node.

## Inputs

| Input     | Type    | Required | Description                           |
| --------- | ------- | -------- | ------------------------------------- |
| Operand A | Vector3 | Yes      | A vector to find the difference from. |
| Operand B | Vector3 | Yes      | A vector to find the difference from. |

## Outputs

| Output | Type    | Description                               |
| ------ | ------- | ----------------------------------------- |
| Result | Vector3 | The difference between the given vectors. |

\
\
**Contributors**

AddiCt3d 2CHa0s
