# lockRootHeightY

> Enable to make vertical root motion be baked into the movement of the bones. Disable to make vertical root motion be stored as root motion.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public bool lockRootHeightY { get; set; }
```
