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

# readAttributeWhitePointX(completion:)

## Declaration

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

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