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

# action

The action sent to the first responder when the user selects a new font from the Font panel or chooses a command from the Font menu.

```
var action: Selector { get set }
```

## Discussion

The default action is <doc://com.apple.documentation/documentation/ObjectiveC/NSObject-swift.class/changeFont:>. You should rarely need to change this setting.

---

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)