---
title: magnification
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsmagnificationgesturerecognizer/magnification
---

# magnification

The amount of magnification to apply.

## Declaration

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

## Discussion

Discussion This property contains the current magnification in effect for the gesture. Add the value of this property to 1.0 to get the scale factor to apply to your content.
