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

# moveToHueAndSaturation(with:completion:)

## Declaration

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

```swift
func moveToHueAndSaturation(with params: MTRColorControlClusterMoveToHueAndSaturationParams) async throws
```
