# Sandbox.SceneModel.GetBoneWorldTransform

## Overload 1

```csharp
Transform GetBoneWorldTransform(int boneIndex)
```

Returns the world space transform of a bone by its index.

### Parameters

- `boneIndex` (`int`): Index of the bone to calculate transform of.

### Returns

`Transform`: The world space transform, or an identity transform on failure.

## Overload 2

```csharp
Transform GetBoneWorldTransform(string boneName)
```

Returns the world space transform of a bone by its name.

### Parameters

- `boneName` (`string`): Name of the bone to calculate transform of.

### Returns

`Transform`: The world space transform, or an identity transform on failure.

Declared in [Sandbox.SceneModel](/api/Sandbox.SceneModel).
Assembly: `Sandbox.Engine`.
