# Sandbox.GameObject.GetComponents

```csharp
IEnumerable<T> GetComponents(bool includeDisabled = False)
```

Get components on this GameObject

### Parameters

- `includeDisabled` (`bool`), default `False`

### Returns

`IEnumerable<T>`

Declared in [Sandbox.GameObject](/api/Sandbox.GameObject).
Assembly: `Sandbox.Engine`.
