# parent

> The parent of this VisualElement.

## Definition

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

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

### Remarks

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