# RemoveElement(uint)

> Removes a child element by id.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Android.Gradle](/engine/6000.6/script-reference/unity/android/gradle.md)
* **Assembly:** Unity.Android.Gradle

```csharp
public BaseElement RemoveElement(uint id)
```

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): Element ID.

### Returns

| Type                                                                               | Description                |
| ---------------------------------------------------------------------------------- | -------------------------- |
| [BaseElement](/engine/6000.6/script-reference/unity/android/gradle/baseelement.md) | The removed child element. |

### Remarks

Removes a custom elements from the `Elements` list. If the element was a default element, it will be cleared and it will not appear in the file.
