---
title: doubleAction
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsmatrix/doubleaction
---

# doubleAction

The action sent to the target of the receiver when the user double-clicks a cell.

## Declaration

```swift
var doubleAction: Selector? { get set }
```

## Discussion

Discussion The double-click action of an NSMatrix is sent after the appropriate single-click action (for the NSCell clicked, or for the NSMatrix if the NSCell doesn’t have its own action). If there is no double-click action and the NSMatrix doesn’t ignore multiple clicks, the single-click action is sent twice. If the value of this property is a non-nil selector, this property also sets ignoresMultiClick to false; otherwise, it leaves ignoresMultiClick unchanged.

## See Also

### Related Documentation

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

### Managing and Sending Action Messages

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