# Sandbox.Scene.GetAll

## Overload 1

```csharp
IEnumerable<T> GetAll()
```

Get all objects of this type. This could be a component or a GameObjectSystem, or other stuff in the future.

### Returns

`IEnumerable<T>`

## Overload 2

```csharp
void GetAll(List<T> target)
```

### Parameters

- `target` (`List<T>`)

Declared in [Sandbox.Scene](/api/Sandbox.Scene).
Assembly: `Sandbox.Engine`.
