# id

> Object Id. The object path for an asset or the GlobalObjectId for a scene object.

## Definition

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

```csharp
public string id
```
