# First()

> The first element matching all the criteria, or null if none was found.

## Definition

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

```csharp
public T First()
```

### Returns

| Type | Description                                                             |
| ---- | ----------------------------------------------------------------------- |
| T    | The first element matching all the criteria, or null if none was found. |
