---
title: "readAttributeCurrentY(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustercolorcontrol/readattributecurrenty(completion:)"
---

# readAttributeCurrentY(completion:)

## Declaration

```swift
func readAttributeCurrentY(completion: @escaping @Sendable (NSNumber?, (any Error)?) -> Void)
```

```swift
func readAttributeCurrentY() async throws -> NSNumber
```
