# Sandbox.Animation.GraphExternalSlots.Disconnect

```csharp
void Disconnect(string slot)
```

Disconnect the graph and restore the slot's fallback. An already empty slot is unchanged.
Throws if the slot or controller is unavailable, or recording playback is active.
While recording or retaining recorded data, disconnected instances and their resources stay
alive until the recording is cleared or replaced, or the controller is destroyed.

### Parameters

- `slot` (`string`)

Declared in [Sandbox.Animation.GraphExternalSlots](/api/Sandbox.Animation.GraphExternalSlots).
Assembly: `Sandbox.Engine`.
