# CreateAnimatorControllerAtPath(string)

> Creates an AnimatorController at the given path.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Animations](/engine/6000.6/script-reference/unityeditor/animations.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static AnimatorController CreateAnimatorControllerAtPath(string path)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The path where the AnimatorController asset will be created.

### Returns

| Type                                                                                               | Description                                                  |
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| [AnimatorController](/engine/6000.6/script-reference/unityeditor/animations/animatorcontroller.md) | The created AnimationController or null if an error occured. |

### Remarks

An example showing usage of this API can be found at the [AnimatorController](/engine/6000.6/script-reference/unityeditor/animations/animatorcontroller.md) page.
