# GetTypeIndex(int)

> Get the type index of a component type within this list

## Definition

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

```csharp
public TypeIndex GetTypeIndex(int index)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The index of the component within the types stored in this list

### Returns

| Type                                                                     | Description                                                 |
| ------------------------------------------------------------------------ | ----------------------------------------------------------- |
| [TypeIndex](/engine/7000.0/script-reference/unity/entities/typeindex.md) | The type index of the component type at the specified index |
