# AppendIndex(in PropertyPath, int)

> Returns a new PropertyPath combining the given PropertyPath and an index-type PropertyPathPart.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Properties](/engine/6000.3/script-reference/unity/properties.md)
* **Assembly:** UnityEngine.PropertiesModule

## AppendIndex(PropertyPath, int)

```csharp
public static PropertyPath AppendIndex(in PropertyPath path, int index)
```

### Parameters

**** (\[PropertyPath]\(/engine/6000.3/script-reference/unity/properties/propertypath)): The [PropertyPath](/engine/6000.3/script-reference/unity/properties/propertypath.md)**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The index to add.

### Returns

| Type                                                                             | Description                                                                            |
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| [PropertyPath](/engine/6000.3/script-reference/unity/properties/propertypath.md) | A new [PropertyPath](/engine/6000.3/script-reference/unity/properties/propertypath.md) |
