---
title: sendDoubleAction()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsmatrix/senddoubleaction()
---

# sendDoubleAction()

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

## Declaration

```swift
func sendDoubleAction()
```

## Discussion

Discussion If the receiver doesn’t have a double-click action, the double-click action message of the selected cell (as returned by 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. Override it if you need to change the search order for an action to send.

## See Also

### Related Documentation

- [ignoresMultiClick](appkit/nscontrol/ignoresmulticlick.md)

### Managing and Sending Action Messages

- [sendAction()](appkit/nsmatrix/sendaction().md)
- [sendAction(_:to:forAllCells:)](appkit/nsmatrix/sendaction(_:to:forallcells:).md)
- [doubleAction](appkit/nsmatrix/doubleaction.md)
