# layout

> The position and size of the VisualElement relative to its parent, as computed by the layout system. (Read Only)

## Definition

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

```csharp
public Rect layout { get; }
```

### Remarks

Before reading from this property, add it to a panel and wait for one frame to ensure that the element layout is computed. After the layout is computed, a [GeometryChangedEvent](/engine/6000.7/script-reference/unityengine/uielements/geometrychangedevent.md) will be sent on this element.
