# SetChangedVersionFilter

> Filters out entities in chunks for which the specified component has not changed.

## Definition

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

## SetChangedVersionFilter(ComponentType)

Filters out entities in chunks for which the specified component has not changed.

```csharp
public void SetChangedVersionFilter(ComponentType componentType)
```

### Parameters

**** (\[ComponentType]\(/engine/7000.0/script-reference/unity/entities/componenttype)): ComponentType to mark as changed on this EntityQuery's filter.

### Remarks

Saves a given ComponentType's index in RequiredComponents in this group's Changed filter. This call disables any existing chunk filtering on this query. For additive filtering, use [EntityQuery.AddChangedVersionFilter](/engine/7000.0/script-reference/unity/entities/entityquery/addchangedversionfilter.md).

## SetChangedVersionFilter(ComponentType\[])

Filters out entities in chunks for which the specified component has not changed.

```csharp
[ExcludeFromBurstCompatTesting("Takes managed array")]
public void SetChangedVersionFilter(ComponentType[] componentType)
```

### Parameters

**** (\[ComponentType\[]]\(/engine/7000.0/script-reference/unity/entities/componenttype)): ComponentTypes to mark as changed on this EntityQuery's filter.

### Remarks

Saves a given ComponentType's index in RequiredComponents in this group's Changed filter. This call disables any existing chunk filtering on this query. For additive filtering, use [EntityQuery.AddChangedVersionFilter](/engine/7000.0/script-reference/unity/entities/entityquery/addchangedversionfilter.md).
