# GetEntityTypeHandle()

> Manually gets the run-time type information required to access the array of Entity objects in a chunk.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public EntityTypeHandle GetEntityTypeHandle()
```

### Returns

| Type                                                                                   | Description                                                                                               |
| -------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
| [EntityTypeHandle](/engine/7000.0/script-reference/unity/entities/entitytypehandle.md) | An object representing the type information required to safely access Entity instances stored in a chunk. |

### Remarks

Remember to call [EntityTypeHandle.Update](/engine/7000.0/script-reference/unity/entities/entitytypehandle/update.md).

Prefer using [SystemAPI.GetEntityTypeHandle](/engine/7000.0/script-reference/unity/entities/systemapi/getentitytypehandle.md) in [SystemAPI](/engine/7000.0/script-reference/unity/entities/systemapi.md) as it will cache in OnCreate for you and call .Update(this) at the call-site.
