# GetObjectPickerControlID()

> The controlID of the currently showing object picker.

## Definition

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

```csharp
public static int GetObjectPickerControlID()
```

### Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) |             |

### Remarks

See [EditorGUIUtility.ShowObjectPicker](/engine/6000.0/script-reference/unityeditor/editorguiutility/showobjectpicker.md).
