# Editor.Widget.IsDescendantOf

```csharp
bool IsDescendantOf(Widget parent)
```

Returns whether or not the specified Widget is a descendent of this Widget.

### Parameters

- `parent` (`Widget`)

### Returns

`bool`

Declared in [Editor.Widget](/api/Editor.Widget).
Assembly: `Sandbox.Tools`.
