# Sandbox.Package.GetValue

```csharp
T GetValue(string name, T defaultValue = null)
```

Get a data value. These are usually set on the backend, and are package type specific. These are
generally values that are used to configure behaviour in the menu system.

### Parameters

- `name` (`string`)
- `defaultValue` (`T`), default `null`

### Returns

`T`

Declared in [Sandbox.Package](/api/Sandbox.Package).
Assembly: `Sandbox.Engine`.
