# FromKey(object)

> Returns a new PropertyPath from the provided key.

## Definition

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

## FromKey(Object)

```csharp
public static PropertyPath FromKey(object key)
```

### Parameters

**** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)): The key of the [PropertyPathPart](/engine/6000.7/script-reference/unity/properties/propertypathpart.md).

### Returns

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