# Sandbox.ResourceSystem.Get

## Overload 1

```csharp
T Get(int identifier)
```

> **Obsolete.** Use Get<T>(path) instead. Identifier based access will be removed in a future update.

Get a cached resource by its hash.

### Parameters

- `identifier` (`int`): Resource hash to look up.

### Returns

`T`

## Overload 2

```csharp
T Get(string filepath)
```

Get a cached resource by its file path.

### Parameters

- `filepath` (`string`): File path to the resource.

### Returns

`T`

Declared in [Sandbox.ResourceSystem](/api/Sandbox.ResourceSystem).
Assembly: `Sandbox.Engine`.
