---
title: worksWhenModal
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsfontpanel/workswhenmodal
---

# worksWhenModal

A Boolean that indicates whether the receiver allows fonts to be changed in modal windows and panels.

## Declaration

```swift
var worksWhenModal: Bool { get set }
```
