# Tool.getFpBoneRot

Returns the local or world rotation for a bone in the first person view animation skeleton.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
tool:getFpBoneRot( jointName, convertToWorldSpace? )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/Tool.md#getfpbonerot)

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `tool` | [Tool](../Game-Script-Environment/Userdata/Tool.md) | The tool. |
| `jointName` | string | The joint name. |
| `convertToWorldSpace` *(optional)* | boolean | Whether to convert the position to world space. (Defaults to true) |

**Returns:**

| Type | Description |
| --- | --- |
| [Quat](../Game-Script-Environment/Userdata/Quat.md) | The joint rotation. |
