---
title: Begin(ref AnimationStream)
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/core/posemixer/begin
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/core/posemixer/begin.md
last_updated: 2026-11-30
generated_at: 2026-11-30T21:18:15.723Z
locale: en-us
---

# Begin(ref AnimationStream)

> Starts a mix and resets the output stream.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Animations](/engine/7000.0/script-reference/unity/animations.md)
* **Assembly:** [UnityEngine.AnimationCoreModule](/engine/7000.0/script-reference/modules/unityengine-animationcoremodule.md)

## Begin(AnimationStream)

```csharp
public void Begin(ref AnimationStream output)
```

### Parameters

**** (\[AnimationStream]\(/engine/7000.0/script-reference/unity/animations/animationstream)): The stream that accumulates the mixed result. The method overwrites its contents.

### Remarks

Call this method before the first call to [Core.PoseMixer.Add](/engine/7000.0/script-reference/unity/animations/core/posemixer/add.md). It sets all channels of `output` to zero and clears the weights that the mixer has collected, so the previous contents of the stream are lost. Finish the mix with `End`.
