---
title: screenPoint
framework: xcuiautomation
role: symbol
role_heading: Instance Property
path: xcuiautomation/xcuicoordinate/screenpoint
---

# screenPoint

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

## Declaration

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

## Discussion

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 property to veryify whether the element is present.

## See Also

### Getting coordinate properties

- [referencedElement](xcuiautomation/xcuicoordinate/referencedelement.md)
