# Sandbox.Animation.GraphDebug.TryGetLayerWeight

```csharp
bool TryGetLayerWeight(int nodeIndex, int layerIndex, out float weight)
```

### Parameters

- `nodeIndex` (`int`)
- `layerIndex` (`int`)
- `out weight` (`float`)

### Returns

`bool`

Declared in [Sandbox.Animation.GraphDebug](/api/Sandbox.Animation.GraphDebug).
Assembly: `Sandbox.Engine`.
