# Sandbox.ModelRenderer.GetAttachmentObject

## Overload 1

```csharp
GameObject GetAttachmentObject(string name)
```

Get the GameObject of a specific attachment.

### Parameters

- `name` (`string`)

### Returns

`GameObject`

## Overload 2

```csharp
GameObject GetAttachmentObject(Attachment attachment)
```

Get the GameObject of a specific attachment.

### Parameters

- `attachment` (`Attachment`)

### Returns

`GameObject`

Declared in [Sandbox.ModelRenderer](/api/Sandbox.ModelRenderer).
Assembly: `Sandbox.Engine`.
