# IgnoreComponentEnabledState

> The query will match all entities in all the query's matching archetypes, regardless of whether any enableable components on those entities are enabled or disabled.

## Definition

* **Type:** Field
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
IgnoreComponentEnabledState = 8
```

### Remarks

Specifically:

* Entities with all required enableable components will be matched, even if the components are disabled.

* Entities with any optional enableable components will be matched, even if the components are disabled.

* Entities with any excluded enableable component will be matched, even if the components are enabled.

* Entities with any excluded non-enableable component will NOT be matched; their archetype is not in the potentially matching set.

* Entities missing a required component will NOT be matched; their archetype is not in the potentially matching set.

* Entities missing all the optional components will NOT be matched; their archetype is not in the potentially matching set.
