# TryGetParentBone(out Bone)

> Gets the parent of this bone.

## Definition

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

## TryGetParentBone(Bone)

```csharp
public bool TryGetParentBone(out Bone parentBone)
```

### Parameters

**** (\[Bone]\(/engine/6000.7/script-reference/unityengine/xr/bone)): Bone struct that receives the parent bone of this bone.

### Returns

| Type                                                          | Description                                          |
| ------------------------------------------------------------- | ---------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | true if the rotation was retrieved, false otherwise. |
