# WithChangeFilter

> Only select components in chunks in which the specified component might have changed since the last time the system updated.

## Definition

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

## WithChangeFilter\<T>()

Only select components in chunks in which the specified component might have changed since the last time the system updated.

```csharp
public QueryEnumerable<T1, T2, T3> WithChangeFilter<TChangeFilter1>()
```

### Returns

| Type                                                                                            | Description                                                                                                                                 |
| ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| [QueryEnumerable\<T, U, V>](/engine/7000.0/script-reference/unity/entities/queryenumerable3.md) | QueryEnumerable, which allows enumerating over all RefRO, RefRW, EnabledRefRO and EnabledRefRW components that match the constructed Query. |

## WithChangeFilter\<T, U>()

Only select components in chunks in which the specified component might have changed since the last time the system updated.

```csharp
public QueryEnumerable<T1, T2, T3> WithChangeFilter<TChangeFilter1, TChangeFilter2>()
```

### Returns

| Type                                                                                            | Description                                                                                                                                 |
| ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| [QueryEnumerable\<T, U, V>](/engine/7000.0/script-reference/unity/entities/queryenumerable3.md) | QueryEnumerable, which allows enumerating over all RefRO, RefRW, EnabledRefRO and EnabledRefRW components that match the constructed Query. |
