---
title: x
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwindowfeatures/x
---

# x

The requested x-coordinate of the containing window.

## Declaration

```swift
var x: NSNumber? { get }
```

## Discussion

Discussion The object in this property contains a CGFloat value. If the webpage didn’t request a specific window position, this property is nil.

## See Also

### Inspecting Window Position and Dimensions

- [allowsResizing](webkit/wkwindowfeatures/allowsresizing.md)
- [height](webkit/wkwindowfeatures/height.md)
- [width](webkit/wkwindowfeatures/width.md)
- [y](webkit/wkwindowfeatures/y.md)
