---
title: window
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitouch/window
---

# window

The window in which the touch initially occurred.

## Declaration

```swift
var window: UIWindow? { get }
```

## Discussion

Discussion The value of the property is the window in which the touch originally occurred. This window might not be the same window that currently contains the touch.

## See Also

### Getting the location of a touch

- [location(in:)](uikit/uitouch/location(in:)-8rd36.md)
- [previousLocation(in:)](uikit/uitouch/previouslocation(in:)-22sws.md)
- [view](uikit/uitouch/view.md)
- [majorRadius](uikit/uitouch/majorradius.md)
- [majorRadiusTolerance](uikit/uitouch/majorradiustolerance.md)
- [preciseLocation(in:)](uikit/uitouch/preciselocation(in:).md)
- [precisePreviousLocation(in:)](uikit/uitouch/precisepreviouslocation(in:).md)
