# IsPickingDisabledOnAnyDescendant(Scene)

> Checks whether any descendants have picking disabled.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public bool IsPickingDisabledOnAnyDescendant(Scene scene)
```

### Parameters

**** (\[Scene]\(/engine/6000.0/script-reference/unityengine/scenemanagement/scene)): Scene to check.

### Returns

| Type                                                          | Description                                                               |
| ------------------------------------------------------------- | ------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true when at least one descendant with picking disabled is found. |
