---
title: MotionOutput
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/motionoutput
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/motionoutput.md
last_updated: 2026-11-30
generated_at: 2026-11-30T20:39:14.105Z
locale: en-us
---

# MotionOutput

> The root motion of a clip from the previous time of a timer to its current time, and the root transform of the clip at the current time.

## Definition

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

```csharp
public struct MotionOutput
```

## Remarks

[ClipSampler.SampleRootMotion](/engine/7000.0/script-reference/unity/animations/clipsampler/samplerootmotion.md) returns this struct. Apply [MotionOutput.RootMotion](/engine/7000.0/script-reference/unity/animations/motionoutput/rootmotion.md) to the transform of the character to move it. Sample the pose at the same time with [ClipSampler.SampleExtractingRootMotion](/engine/7000.0/script-reference/unity/animations/clipsampler/sampleextractingrootmotion.md) to remove the root motion from the pose, so that the character doesn't move twice.

Additional Resources: [ClipSampler](/engine/7000.0/script-reference/unity/animations/clipsampler.md)

## Fields

| Value                                                                                           | Description                                                                     |
| ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| [RootMotion](/engine/7000.0/script-reference/unity/animations/motionoutput/rootmotion.md)       | The motion of the root from the previous time of the timer to its current time. |
| [RootTransform](/engine/7000.0/script-reference/unity/animations/motionoutput/roottransform.md) | The transform of the root in character space at the current time of the timer.  |
