# batchingInterval

> Specifies whether Unity updates canvases for batching only when rendering is performed, such as with OnDemandRendering, or every update at runtime in Player builds.

## Definition

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

```csharp
public static Canvas.BatchingInterval batchingInterval { get; set; }
```

### Remarks

This property applies only at runtime in Player builds and has no effect in the Editor. The default value is [Canvas.BatchingInterval.GatedByRendering](/engine/6000.6/script-reference/unityengine/canvas/batchinginterval/gatedbyrendering.md).
