# TryGetRightEyeRotation(out Quaternion)

> Gets the Quaternion that describes the rotation of the right eye.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.XR](/engine/6000.0/script-reference/unityengine/xr.md)
* **Assembly:** UnityEngine.XRModule

## TryGetRightEyeRotation(Quaternion)

```csharp
public bool TryGetRightEyeRotation(out Quaternion rotation)
```

### Parameters

**** (\[Quaternion]\(/engine/6000.0/script-reference/unityengine/quaternion)):&#x20;

### Returns

| Type                                                          | Description                                                              |
| ------------------------------------------------------------- | ------------------------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | true if eyes can be queried for the right eye rotation; otherwise false. |
