# hasRootMotion

> Returns true if the current rig has root motion.

## Definition

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

```csharp
public bool hasRootMotion { get; }
```
