---
title: "colorLoopSet(with:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustercolorcontrol/colorloopset(with:completion:)"
---

# colorLoopSet(with:completion:)

## Declaration

```swift
func colorLoopSet(with params: MTRColorControlClusterColorLoopSetParams, completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func colorLoopSet(with params: MTRColorControlClusterColorLoopSetParams) async throws
```
