# `GlyphsToolEvent modifierChanged:`

*Instance Method*

Informs the receiver that the user has pressed or released a modifier key (Shift, Control, and so on).

## Declaration

```swift
func modifierChanged(_ anEvent: NSEvent)
```

```objc
- (void) modifierChanged:(NSEvent *) anEvent;
```

```python
modifierChanged_(anEvent: NSEvent)
```

## Parameters

- `anEvent` — An object encapsulating information about the modifier-key event.

