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