---
title: "readAttributeCurrentX(with:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclustercolorcontrol/readattributecurrentx(with:)"
---

# readAttributeCurrentX(with:)

## Declaration

```swift
func readAttributeCurrentX(with params: MTRReadParams?) -> [String : Any]?
```
