---
title: "barrierControlGoToPercent(with:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterbarriercontrol/barriercontrolgotopercent(with:completion:)"
---

# barrierControlGoToPercent(with:completion:)

## Declaration

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

```swift
func barrierControlGoToPercent(with params: MTRBarrierControlClusterBarrierControlGoToPercentParams) async throws
```
