# SetTransformPath(int, string)

> Sets the path of the transform at the given index.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public void SetTransformPath(int index, string path)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The index of the transform.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The path of the transform.
