# `GlyphsToolEvent willDeactivate`

*Instance Method*

Is called when the tool is deactivated.

## Declaration

```swift
func willDeactivate()
```

```objc
- (void) willDeactivate;
```

```python
willDeactivate()
```

## Discussion

This might happen when the user deselects the tool or when the document becomes inactive

