---
title: "previousLocation(in:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstouch/previouslocation(in:)"
---

# previousLocation(in:)

Indicates the previous location of the touch in the view’s coordinates.

## Declaration

```swift
func previousLocation(in view: NSView?) -> NSPoint
```

## See Also

### Getting the Touch Location

- [location(in:)](appkit/nstouch/location(in:).md)
