# Sandbox.Animation.GraphDebug.TryGetStateMachine

```csharp
bool TryGetStateMachine(int nodeIndex, out StateMachineState state)
```

### Parameters

- `nodeIndex` (`int`)
- `out state` (`StateMachineState`)

### Returns

`bool`

Declared in [Sandbox.Animation.GraphDebug](/api/Sandbox.Animation.GraphDebug).
Assembly: `Sandbox.Engine`.
