# Canvas.BatchingInterval

> Options for when Unity updates canvases for batching.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.UIModule

```csharp
public enum Canvas.BatchingInterval
```

## Remarks

Use this enum with the \_batchingInterval property to choose the batching update behavior. This property applies only at runtime in Player builds and has no effect in the Editor.

## Fields

| Value                                                                                                       | Description                                                                         |
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| [AlwaysUpdate](/engine/6000.7/script-reference/unityengine/canvas/batchinginterval/alwaysupdate.md)         | Updates canvases for batching on every update, even when rendering is not required. |
| [GatedByRendering](/engine/6000.7/script-reference/unityengine/canvas/batchinginterval/gatedbyrendering.md) | Updates canvases for batching only when rendering is required.                      |
