# parent

> The parent of this VisualElement.

## Definition

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

```csharp
public VisualElement parent { get; }
```

### Remarks

Unlike the parent property, this property reflects for logical hierarchy. For example, if you add an element to a [ScrollView](/engine/6000.0/script-reference/unityengine/uielements/scrollview.md), the logical parent of this element is the ScrollView itself, whereas the physical parent returned by the parent property returns a child of [ScrollView](/engine/6000.0/script-reference/unityengine/uielements/scrollview.md) which acts as the parent of your element.
