# GetSystemTypeIndex

> Returns the system index for System T.

## Definition

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

## GetSystemTypeIndex\<T>()

Returns the system index for System T.

```csharp
public static SystemTypeIndex GetSystemTypeIndex<T>()
```

### Returns

| Type                                                                                 | Description                                   |
| ------------------------------------------------------------------------------------ | --------------------------------------------- |
| [SystemTypeIndex](/engine/7000.0/script-reference/unity/entities/systemtypeindex.md) | Returns the System index for the input type T |

## GetSystemTypeIndex(Type)

Gets the [SystemTypeIndex](/engine/7000.0/script-reference/unity/entities/systemtypeindex.md) for the given system type.

```csharp
public static SystemTypeIndex GetSystemTypeIndex(Type type)
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)):&#x20;

### Returns

| Type                                                                                 | Description |
| ------------------------------------------------------------------------------------ | ----------- |
| [SystemTypeIndex](/engine/7000.0/script-reference/unity/entities/systemtypeindex.md) |             |
