<!--
{
  "availability" : [
    "macOS: 10.6.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSResponder/touchesMoved(with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSResponder(im)touchesMovedWithEvent:"
  },
  "title" : "touchesMoved(with:)"
}
-->

# touchesMoved(with:)

Informs the receiver that one or more touches has moved.

```
func touchesMoved(with event: NSEvent)
```

## Parameters

`event`

An event object representing a touch movement.

## Discussion

The system sends the to the view under the touch in the key window. To get the set of touches that moved for this view (or descendants of this view) call [`touches(matching:in:)`](/documentation/AppKit/NSEvent/touches(matching:in:)) on `event` and pass [`moved`](/documentation/AppKit/NSTouch/Phase-swift.struct/moved) for the phase.

---

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)