# GetStorageInfo(Entity)

> Gets a struct containing information about the archetype in which an entity is stored.

## Definition

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

```csharp
public EntityStorageInfo GetStorageInfo(Entity entity)
```

### Parameters

**** (\[Entity]\(/engine/7000.0/script-reference/unity/entities/entity)): The entity being queried for storage information.

### Returns

| Type                                                                                     | Description                                         |
| ---------------------------------------------------------------------------------------- | --------------------------------------------------- |
| [EntityStorageInfo](/engine/7000.0/script-reference/unity/entities/entitystorageinfo.md) | Information about the storage of the target entity. |
