# Sandbox.Material.GetFeature

```csharp
int GetFeature(string name)
```

Get a feature flag on the material. This is usually used to enable/disable shader permutations.

### Parameters

- `name` (`string`)

### Returns

`int`

Declared in [Sandbox.Material](/api/Sandbox.Material).
Assembly: `Sandbox.Engine`.
