# Dynamic

> The size of the UIDocument will be determined from the layout size of the root element.

## Definition

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

> **Warning:**
>
> **Removed.** UIDocument.WorldSpaceSizeMode has been moved to WorldSpaceSizeMode .
>
> **Upgrade to** [WorldSpaceSizeMode](/engine/6000.6/script-reference/unityengine/uielements/worldspacesizemode.md)

```csharp
Dynamic = 0
```
