# AddTransformPath

> Adds a transform path into the AvatarMask.

## Definition

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

## AddTransformPath(Transform)

Adds a transform path into the AvatarMask.

```csharp
public void AddTransformPath(Transform transform)
```

### Parameters

**** (\[Transform]\(/engine/6000.0/script-reference/unityengine/transform)): The transform to add into the AvatarMask.

## AddTransformPath(Transform, bool)

Adds a transform path into the AvatarMask.

```csharp
public void AddTransformPath(Transform transform, bool recursive)
```

### Parameters

**** (\[Transform]\(/engine/6000.0/script-reference/unityengine/transform)): The transform to add into the AvatarMask.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Whether to also add all children of the specified transform.
