# Sandbox.BoneCollection.HasBone

```csharp
bool HasBone(string name)
```

Whether the model or entity has a given bone by name.

### Parameters

- `name` (`string`)

### Returns

`bool`

Declared in [Sandbox.BoneCollection](/api/Sandbox.BoneCollection).
Assembly: `Sandbox.Engine`.
