# AsSpan()

> Get the polygon vertices as a span.

## Definition

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

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

### Returns

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