# First()

> Gets the first selected item in the selection.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Search](/engine/6000.7/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public SearchItem First()
```

### Returns

| Type                                                                           | Description                                                              |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| [SearchItem](/engine/6000.7/script-reference/unityeditor/search/searchitem.md) | First selected item in selection. Returns null if no items are selected. |
