# CreateInstance()

> Returns an instance of the declaring element.

## Definition

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

```csharp
public abstract object CreateInstance()
```

### Returns

| Type                                                           | Description                                |
| -------------------------------------------------------------- | ------------------------------------------ |
| [Object](https://learn.microsoft.com/dotnet/api/system.object) | The new instance of the declaring element. |
