# Sandbox.Animation.Clip.GetRootMotion

```csharp
Transform GetRootMotion(float cycle)
```

Sample the root motion transform, relative to where the clip started.

### Parameters

- `cycle` (`float`): Position through the clip, from 0 to 1.

### Returns

`Transform`

### Exceptions

- `System.ArgumentOutOfRangeException`: The cycle is not finite or outside 0 to 1.

Declared in [Sandbox.Animation.Clip](/api/Sandbox.Animation.Clip).
Assembly: `Sandbox.Engine`.
