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

# mouseDown(with:)

Informs the receiver that the user has pressed the left mouse button.

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

## Parameters

`event`

An object encapsulating information about the mouse-down event.

## Discussion

The default implementation simply passes this message to the next responder.

---

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)