# GetBones(Sprite)

> Returns a list of SpriteBone in this Sprite.

## Definition

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

```csharp
public static SpriteBone[] GetBones(this Sprite sprite)
```

### Parameters

**** (\[Sprite]\(/engine/6000.6/script-reference/unityengine/sprite)): The sprite to get the list of SpriteBone from.

### Returns

| Type                                                                            | Description                                         |
| ------------------------------------------------------------------------------- | --------------------------------------------------- |
| [SpriteBone\[\]](/engine/6000.6/script-reference/unityengine/u2d/spritebone.md) | An array of SpriteBone that belongs to this Sprite. |

### Remarks

SpriteBone is a richer set of information about the bind pose that this Sprite contains. It is useful for reconstructing the runtime skeleton for this Sprite and perform various other operations like resolving the bone path. It is via information in SpriteBone that the system knows if a sprite could be bound to a specific hierarchy.
