# Sandbox.SceneModel.SetAnimGraph

```csharp
void SetAnimGraph(string name)
```

> **Obsolete.** Can use AnimationGraph directly

Override the anim graph this scene model uses

### Parameters

- `name` (`string`)

Declared in [Sandbox.SceneModel](/api/Sandbox.SceneModel).
Assembly: `Sandbox.Engine`.
