# OverridePhysicsOutline(IList<Vector2[]>)

> Sets up a new Sprite physics outline.

## Definition

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

```csharp
public void OverridePhysicsOutline(IList<Vector2[]> physicsOutlines)
```

### Parameters

**** (\[IList\<Vector2\[]>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1)): A multidimensional list of points in [Sprite.rect](/engine/6000.7/script-reference/unityengine/sprite/rect.md) space denoting the physics outlines.

### Remarks

The positions are in [Sprite.rect](/engine/6000.7/script-reference/unityengine/sprite/rect.md) space and this space is from [Rect.zero](/engine/6000.7/script-reference/unityengine/rect/zero.md) to [Rect.size](/engine/6000.7/script-reference/unityengine/rect/size.md). Pivot offset and transformation to unit space are done automatically. Values outside of the Rect bounds are valid and are transformed based on [Sprite.rect](/engine/6000.7/script-reference/unityengine/sprite/rect.md) space.

Each internal array of physics outline points must have more than 2 positions to be able to describe an outline.

Additional Resources: [Sprite.rect](/engine/6000.7/script-reference/unityengine/sprite/rect.md).
