# Remove(VisualElement)

> Removes this child from the _hierarchy of its _contentContainer.

## Definition

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

```csharp
public void Remove(VisualElement element)
```

### Parameters

**** (\[VisualElement]\(/engine/6000.6/script-reference/unityengine/uielements/visualelement)): The child to be removed.

### Remarks

If the child is not found in the hierarchy, an ArgumentException will be thrown.
