---
title: mouseDownFlags
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsmatrix/mousedownflags
---

# mouseDownFlags

The flags in effect at the mouse-down event that started the current tracking session.

## Declaration

```swift
var mouseDownFlags: Int { get }
```

## Discussion

Discussion The NSMatrix mouseDown(with:) method obtains these flags by sending a modifierFlags message to the event passed into mouseDown(with:). Use this property if you want to access these flags. This property is valid only during tracking; it isn’t useful if the target of the receiver initiates another tracking loop as part of its action method (as a cell that pops up a pop-up list does, for example).

## See Also

### Related Documentation

- [sendAction(on:)](appkit/nscontrol/sendaction(on:).md)

### Handling Event and Action Messages

- [acceptsFirstMouse(for:)](appkit/nsmatrix/acceptsfirstmouse(for:).md)
- [mouseDown(with:)](appkit/nsmatrix/mousedown(with:).md)
- [performKeyEquivalent(with:)](appkit/nsmatrix/performkeyequivalent(with:).md)
