# GetEntityInfo(Entity)

> Creates a string with the information about a given entity including the entity's version, index, and archetype.

## Definition

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

```csharp
public string GetEntityInfo(Entity entity)
```

### Parameters

**** (\[Entity]\(/engine/7000.0/script-reference/unity/entities/entity)): The entity to get the information about

### Returns

| Type                                                           | Description                              |
| -------------------------------------------------------------- | ---------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The string with the entity's information |
