# GetLocalVector(Vector2)

> Gets a local vector on a body given a world vector.

## Definition

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

```csharp
public Vector2 GetLocalVector(Vector2 worldVector)
```

### Parameters

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

### Returns

| Type                                                              | Description                            |
| ----------------------------------------------------------------- | -------------------------------------- |
| [Vector2](/engine/6000.3/script-reference/unityengine/vector2.md) | The local vector relative to the body. |
