# GetElements()

> Gets all custom child elements.

## Definition

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

```csharp
public IReadOnlyList<BaseElement> GetElements()
```

### Returns

| Type                                                                                                             | Description                            |
| ---------------------------------------------------------------------------------------------------------------- | -------------------------------------- |
| [IReadOnlyList\<BaseElement>](https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1) | The list of all custom child elements. |
