# SetScreenshotCaptureFrameInterval(int)

> Alter the rate that the Profiler takes a new screenshot for capture list thumbnails.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Profiling](/engine/6000.5/script-reference/unityengine/profiling.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static void SetScreenshotCaptureFrameInterval(int frames)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The number of frames until the next screenshot.

### Remarks

By default, the Profiler takes a screenshot every 15 frames to be used when the profiling session is saved to disk. Use this function to alter how frequently that happens.

For example, set the value to 1 to screenshot every frame, to make sure the saved thumbnail is the most up-to date. Set to 0 or a negative number to disable the functionality.
