# GetEntityDataPtrRO(EntityTypeHandle)

> Provides an unsafe read-only interface to array of Entities stored in this chunk.

## Definition

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

```csharp
public readonly Entity* GetEntityDataPtrRO(EntityTypeHandle entityTypeHandle)
```

### Parameters

**** (\[EntityTypeHandle]\(/engine/7000.0/script-reference/unity/entities/entitytypehandle)): An object containing type and job safety information. To create this object, call [ComponentSystemBase.GetEntityTypeHandle()](/engine/7000.0/script-reference/unity/entities/componentsystembase/getentitytypehandle.md). Pass the object to a job using a public field you define as part of the job struct.

### Returns

| Type                                                                 | Description                                          |
| -------------------------------------------------------------------- | ---------------------------------------------------- |
| [Entity\*](/engine/7000.0/script-reference/unity/entities/entity.md) | A pointer to the component data stored in the chunk. |
