# GetEntityTypeHandle()

> 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 static 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

Not working in Entities.ForEach, IJobEntity, and Utility methods
