# operator -(Vector3Int, Vector3Int)

> Subtracts one vector from another.

## Definition

* **Type:** Operator
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static Vector3Int operator -(Vector3Int a, Vector3Int b)
```

### Parameters

**** (\[Vector3Int]\(/engine/6000.6/script-reference/unityengine/vector3int)): The vector to subtract `b` from.**** (\[Vector3Int]\(/engine/6000.6/script-reference/unityengine/vector3int)): The vector to subtract from `a`.

### Returns

| Type                                                                    | Description |
| ----------------------------------------------------------------------- | ----------- |
| [Vector3Int](/engine/6000.6/script-reference/unityengine/vector3int.md) |             |

### Remarks

Subtracts each component of `b` from `a`.
