# EntityQueryOptions

> The bit flags to use for the EntityQueryDesc.Options field.

## Definition

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

```csharp
[Flags]
public enum EntityQueryOptions
```

## Fields

| Value                                                                                                                           | Description                                                                                                                                                          |
| ------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Default](/engine/7000.0/script-reference/unity/entities/entityqueryoptions/default.md)                                         | No options specified.                                                                                                                                                |
| [IgnoreComponentEnabledState](/engine/7000.0/script-reference/unity/entities/entityqueryoptions/ignorecomponentenabledstate.md) | 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. |
| [IncludeDisabledEntities](/engine/7000.0/script-reference/unity/entities/entityqueryoptions/includedisabledentities.md)         | The query does not exclude entities with the special [Disabled](/engine/7000.0/script-reference/unity/entities/disabled.md) component.                               |
| [IncludeMetaChunks](/engine/7000.0/script-reference/unity/entities/entityqueryoptions/includemetachunks.md)                     | The query does not exclude the special [ChunkHeader](/engine/7000.0/script-reference/unity/entities/chunkheader.md) component, used by meta-chunks.                  |
| [IncludePrefab](/engine/7000.0/script-reference/unity/entities/entityqueryoptions/includeprefab.md)                             | The query does not exclude entities with the special [Prefab](/engine/7000.0/script-reference/unity/entities/prefab.md) component.                                   |
| [IncludeSystems](/engine/7000.0/script-reference/unity/entities/entityqueryoptions/includesystems.md)                           | The query does not exclude the SystemInstance component, which is a component attached to Entities belonging to systems.                                             |
