# GetBounds()

> Get Bounds data as NativeArray. The array count of this NativeArray will always be 1.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.U2D](/engine/6000.3/script-reference/unityengine/u2d.md)
* **Assembly:** UnityEngine.SpriteShapeModule

```csharp
public NativeArray<Bounds> GetBounds()
```

### Returns

| Type                                                                                      | Description                                                                      |
| ----------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| [NativeArray\<Bounds>](/engine/6000.3/script-reference/unity/collections/nativearray1.md) | NativeArray of Bounds of SpriteShapeRenderer. The size of this will always be 1. |
