# instanceIDs

> The actual unfiltered selection from the Scene returned as instance ids instead of Selection.objects.

## Definition

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

> **Warning:**
>
> **Removed.** Use entityIds instead.

```csharp
public static int[] instanceIDs { get; set; }
```

### Remarks

All objects  will be returned, including assets in projects. You can also assign objects to the selection.

The instance ID of an object is always guaranteed to be unique.

Additional Resources: [Selection.objects](/engine/6000.7/script-reference/unityeditor/selection/objects.md), [Object.GetInstanceID()](/engine/6000.7/script-reference/unityengine/object/getinstanceid.md).
