# GetBlendShapeWeight(int)

> Gets the weight of a blend shape for this renderer.

## Definition

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

```csharp
public float GetBlendShapeWeight(int index)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The index of the blend shape with the weight you want to get. `Index` must be smaller than the [Sprite.blendShapeCount](/engine/6000.7/script-reference/unityengine/sprite/blendshapecount.md) of the sprite attached to this renderer.

### Returns

| Type                                                          | Description                    |
| ------------------------------------------------------------- | ------------------------------ |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | The weight of the blend shape. |

### Remarks

The weight of a blend shape represents how much the sprite has been blended (or morphed) from its original shape to a target blend shape. The target blend shape is another sprite containing the same topology, but with different vertex positions than the original.

The blend shape weight range includes values between the minimum and the maximum weights defined in the sprite.

Additional Resources: [SpriteRenderer.SetBlendShapeWeight](/engine/6000.7/script-reference/unityengine/spriterenderer/setblendshapeweight.md).
