# AsSpan()

> Get the convex-hull vertices as a span.

## Definition

* **Type:** Method
* **Namespace:** [Unity.U2D.Physics](/engine/6000.7/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
public readonly Span<Vector2> AsSpan()
```

### Returns

| Type                                                                   | Description                                            |
| ---------------------------------------------------------------------- | ------------------------------------------------------ |
| [Span\<Vector2>](https://learn.microsoft.com/dotnet/api/system.span-1) | The span representing the vertices in the convex-hull. |
