# Instantiate

> Build a tree of VisualElements from the asset.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

## Instantiate()

Build a tree of VisualElements from the asset.

```csharp
public TemplateContainer Instantiate()
```

### Returns

| Type                                                                                             | Description                                                  |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------ |
| [TemplateContainer](/engine/6000.6/script-reference/unityengine/uielements/templatecontainer.md) | The root of the tree of VisualElements that was just cloned. |

## Instantiate(string)

Build a tree of VisualElements from the asset.

```csharp
public TemplateContainer Instantiate(string bindingPath)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The path to the property that you want to bind to the root of the cloned tree.

### Returns

| Type                                                                                             | Description                                                  |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------ |
| [TemplateContainer](/engine/6000.6/script-reference/unityengine/uielements/templatecontainer.md) | The root of the tree of VisualElements that was just cloned. |
