# AppendKey(in PropertyPath, object)

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

## Definition

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

## AppendKey(PropertyPath, Object)

```csharp
public static PropertyPath AppendKey(in PropertyPath path, object key)
```

### Parameters

**** (\[PropertyPath]\(/engine/6000.0/script-reference/unity/properties/propertypath)): The [PropertyPath](/engine/6000.0/script-reference/unity/properties/propertypath.md)**** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)): The key to add.

### Returns

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