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

# magnification

The amount of change to add to a magnification gesture.

```
var magnification: CGFloat { get }
```

## Discussion

The change in magnification that should be added to the current scaling of an item to achieve the new scale factor. This message is valid only for events of type [`NSEvent.EventType.magnify`](/documentation/AppKit/NSEvent/EventType/magnify).

---

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)