<!--
{
  "availability" : [
    "Xcode: 16.3.0 -",
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "XCUIAutomation",
  "identifier" : "/documentation/XCUIAutomation/XCUICoordinate/screenPoint",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "XCUIAutomation"
    ],
    "preciseIdentifier" : "c:objc(cs)XCUICoordinate(py)screenPoint"
  },
  "title" : "screenPoint"
}
-->

# screenPoint

The dynamically computed value of the coordinate’s location on screen.

```
var screenPoint: CGPoint { get }
```

## Discussion

Note that this value is dependent on the current frame of the referenced element. If the element’s frame changes, so does the value returned by this property. If the referenced element doesn’t exist when you call this property, the system fails the current test. Check the referenced element’s [`exists`](/documentation/XCUIAutomation/XCUIElement/exists) property to veryify whether the element is present.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)