# ExcludeEntities

> An array of DOTS Entity IDs that the picking algorithm doesn't consider when it selects the nearest object.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Removed.** PickingIncludeExcludeList is deprecated. Use PickingIncludeExcludeEntityIdList instead.

```csharp
public NativeArray<int> ExcludeEntities { get; }
```
