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

# barrierControlGoToPercent(with:completionHandler:)

## Declaration

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

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