# CreateEntityRemapArray(AllocatorHandle)

> Creates a remapping array with one element for each entity in the EntityManager.World.

## Definition

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

```csharp
public NativeArray<EntityRemapUtility.EntityRemapInfo> CreateEntityRemapArray(AllocatorManager.AllocatorHandle allocator)
```

### Parameters

**** (\[AllocatorHandle]\(/engine/7000.0/script-reference/unity/collections/allocatormanager/allocatorhandle)): The type of memory allocation to use when creating the array.

### Returns

| Type                                                                                               | Description                                                          |
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |
| [NativeArray\<EntityRemapInfo>](/engine/7000.0/script-reference/unity/collections/nativearray1.md) | An array containing a no-op identity transformation for each entity. |
