# Sandbox.SoundHandle.SetParent

```csharp
void SetParent(GameObject obj)
```

> **Obsolete.** Just use Parent property directly

Tell the SoundHandle to follow this GameObject's position

### Parameters

- `obj` (`GameObject`)

Declared in [Sandbox.SoundHandle](/api/Sandbox.SoundHandle).
Assembly: `Sandbox.Engine`.
