# rootRotation

> The root rotation, the rotation of the game object.

## Definition

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

```csharp
public Quaternion rootRotation { get; set; }
```

### Remarks

You should only set this value from within an OnAnimatorIK() function call.
