# operator +(Vector2, Vector2)

> Adds two vectors.

## Definition

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

```csharp
public static Vector2 operator +(Vector2 a, Vector2 b)
```

### Parameters

**** (\[Vector2]\(/engine/6000.6/script-reference/unityengine/vector2)): The first vector to add.**** (\[Vector2]\(/engine/6000.6/script-reference/unityengine/vector2)): The second vector to add.

### Returns

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

### Remarks

Adds corresponding components together.

### Examples

```csharp
using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour
{
    void Start()
    {
        print(new Vector2(1, 2) + new Vector2(2, 3));
    }
}
```
