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

# sendDoubleAction()

Sends the double-click action message to the target of the receiver.

```
func sendDoubleAction()
```

## Discussion

If the receiver doesn’t have a double-click action, the double-click action message of the selected cell (as returned by [`selectedCell`](/documentation/AppKit/NSMatrix/selectedCell)) is sent to the selected cell’s target. Finally, if the selected cell also has no action, then the single-click action of the receiver is sent to the target of the receiver.

If the selected cell is disabled, this method does nothing.

Your code shouldn’t invoke this method; it’s sent in response to a double-click event in the [`NSMatrix`](/documentation/AppKit/NSMatrix). Override it if you need to change the search order for an action to send.

## See Also

[`var ignoresMultiClick: Bool`](/documentation/AppKit/NSControl/ignoresMultiClick)

A Boolean value indicating whether the receiver ignores multiple clicks made in rapid succession.



---

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)