# `GSNode.undoManagerCheck`

*Instance Property*

Returns the undo manager of the containing glyph, if undo is enabled for the glyph.

## Declaration

```swift
var undoManagerCheck: UndoManager? { get }
```

```objc
@property (nonatomic, readonly) NSUndoManager * undoManagerCheck;
```

```python
undoManagerCheck() -> NSUndoManager
```

## See Also

### Undo

- [`GSNode.undoManager`](/Core/GlyphsCore/GSNode/undoManager) — Returns the undo manager of the containing glyph.

