# GetType(TypeIndex)

> Gets the System.Type for the component represented by TypeIndex.

## Definition

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

```csharp
public static Type GetType(TypeIndex typeIndex)
```

### Parameters

**** (\[TypeIndex]\(/engine/7000.0/script-reference/unity/entities/typeindex)): TypeIndex for a component type

### Returns

| Type                                                       | Description                        |
| ---------------------------------------------------------- | ---------------------------------- |
| [Type](https://learn.microsoft.com/dotnet/api/system.type) | The System.Type for the component. |
