# targetEntityIds

> Per-target EntityId s in declaration order, parallel to SerializedObject.targetObjects for Object targets, or the sole source of target identity for ECS-component targets.

## Definition

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

```csharp
public EntityId[] targetEntityIds { get; }
```

### Remarks

Homogeneity is enforced at construction — all entries share the same TypeId (all Unity objects, or all components of the same type).

Additional Resources: [SerializedObject.targetEntityId](/engine/7000.0/script-reference/unityeditor/serializedobject/targetentityid.md), [SerializedObject.targetObjects](/engine/7000.0/script-reference/unityeditor/serializedobject/targetobjects.md)
