# Sandbox.Component.GetComponentInChildren

```csharp
T GetComponentInChildren(bool includeDisabled = False, bool includeSelf = True)
```

Get component on this GameObject or on descendant GameObjects

### Parameters

- `includeDisabled` (`bool`), default `False`
- `includeSelf` (`bool`), default `True`

### Returns

`T`

Declared in [Sandbox.Component](/api/Sandbox.Component).
Assembly: `Sandbox.Engine`.
