# GetLocalScale(AnimationStream)

> Gets the scale of the transform relative to the parent.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Animations](/engine/6000.3/script-reference/unityengine/animations.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public Vector3 GetLocalScale(AnimationStream stream)
```

### Parameters

**** (\[AnimationStream]\(/engine/6000.3/script-reference/unityengine/animations/animationstream)): The [AnimationStream](/engine/6000.3/script-reference/unityengine/animations/animationstream.md) that holds the animated values.

### Returns

| Type                                                              | Description                                        |
| ----------------------------------------------------------------- | -------------------------------------------------- |
| [Vector3](/engine/6000.3/script-reference/unityengine/vector3.md) | The scale of the transform relative to the parent. |
