# RotateVector(Vector2)

> Rotate a vector.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.LowLevelPhysics2D](/engine/6000.3/script-reference/unityengine/lowlevelphysics2d.md)
* **Assembly:** UnityEngine.Physics2DModule

```csharp
public readonly Vector2 RotateVector(Vector2 vector)
```

### Parameters

**** (\[Vector2]\(/engine/6000.3/script-reference/unityengine/vector2)): The vector to rotate.

### Returns

| Type                                                              | Description                        |
| ----------------------------------------------------------------- | ---------------------------------- |
| [Vector2](/engine/6000.3/script-reference/unityengine/vector2.md) | The result of the vector rotation. |
