# Sandbox.ScriptStore.Get

## Overload 1

```csharp
T Get(string name)
```

Reads an initialized value. The type must match exactly; missing entries throw.

### Parameters

- `name` (`string`)

### Returns

`T`

## Overload 2

```csharp
T Get(string name, T initialValue)
```

Reads a value, initializing it with the supplied default if absent.

### Parameters

- `name` (`string`)
- `initialValue` (`T`)

### Returns

`T`

Declared in [Sandbox.ScriptStore](/api/Sandbox.ScriptStore).
Assembly: `Sandbox.Engine`.
