# Sandbox.UI.StyleSheet.GetVariable

```csharp
string GetVariable(string name, string defaultValue = null)
```

### Parameters

- `name` (`string`)
- `defaultValue` (`string`), default `null`

### Returns

`string`

Declared in [Sandbox.UI.StyleSheet](/api/Sandbox.UI.StyleSheet).
Assembly: `Sandbox.Engine`.
