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

# magnification

The amount of change to add to a magnification gesture.

## Declaration

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

## Discussion

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.

## See Also

### Getting gesture and touch information

- [phase](appkit/nsevent/phase-swift.property.md)
- [NSEvent.Phase](appkit/nsevent/phase-swift.struct.md)
- [touches(matching:in:)](appkit/nsevent/touches(matching:in:).md)
- [allTouches()](appkit/nsevent/alltouches().md)
- [touches(for:)](appkit/nsevent/touches(for:).md)
- [coalescedTouches(for:)](appkit/nsevent/coalescedtouches(for:).md)
- [isMouseCoalescingEnabled](appkit/nsevent/ismousecoalescingenabled.md)
- [NSEvent.GestureAxis](appkit/nsevent/gestureaxis.md)
