# matchAll

> Boolean that indicates whether all labels, or only one of them, should match. Default is true.

## Definition

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

> **Warning:**
>
> **Removed.** ObjectSelectorHandlerWithLabelsAttribute has been deprecated. Use SearchContextAttribute instead.

```csharp
public bool matchAll { get; }
```
