# EntityQueryCaptureMode

> Specifies when an EntityQuery passed to an EntityCommandBuffer should be evaluated.

## Definition

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

```csharp
public enum EntityQueryCaptureMode
```

## Remarks

This can significantly affect which entities are matched by the query, as well as the overall performance of the requested operation.

## Fields

| Value                                                                                             | Description                                                                                 |
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| [AtPlayback](/engine/7000.0/script-reference/unity/entities/entityquerycapturemode/atplayback.md) | Request that the query's results be captured when the corresponding command is played back. |
