# EntityIdToObject(EntityId)

> Translates an EntityId to an object reference.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static Object EntityIdToObject(EntityId entityId)
```

### Parameters

**** (\[EntityId]\(/engine/6000.7/script-reference/unityengine/entityid)): EntityId of an [Object](/engine/6000.7/script-reference/unityengine/object.md).

### Returns

| Type                                                            | Description                                                       |
| --------------------------------------------------------------- | ----------------------------------------------------------------- |
| [Object](/engine/6000.7/script-reference/unityengine/object.md) | Resolved reference or null if the EntityId didn't match anything. |
