# Sandbox.ResourceSystem.GetAll

## Overload 1

```csharp
IEnumerable<T> GetAll()
```

Get all cached resources of given type.

### Returns

`IEnumerable<T>`

## Overload 2

```csharp
IEnumerable<T> GetAll(string filepath, bool recursive = True)
```

Get all cached resources of given type in a specific folder.

### Parameters

- `filepath` (`string`): The path of the folder to check.
- `recursive` (`bool`), default `True`: Whether or not to check folders within the specified folder.

### Returns

`IEnumerable<T>`

Declared in [Sandbox.ResourceSystem](/api/Sandbox.ResourceSystem).
Assembly: `Sandbox.Engine`.
