# flags

> Search view flags used to open the Object Picker in various states.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.Search](/engine/6000.5/script-reference/unityengine/search.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public SearchViewFlags flags { get; }
```

### Remarks

The following example will open the Object Picker window using the compact list view and include packages results.

### Examples

```csharp
[SearchContext("", "adb", SearchViewFlags.Packages | SearchViewFlags.CompactView)]
public MonoScript myPackageScript;
```
