# `GSBaseObject elementDidChange:`

*Instance Method*

Notifies the parent that an element changed.

## Declaration

```swift
func elementDidChange(_ element: Any)
```

```objc
- (void) elementDidChange:(id) element;
```

```python
elementDidChange_(element: object)
```

## Parameters

- `element` — The changed element.

## See Also

### Change Tracking

- [`GSBaseObject.undoManager`](/Core/GlyphsCore/GSBaseObject/undoManager) — The undo manager provided by the parent, or `nil` when none is available.
- [`GSBaseObject.undoManagerCheck`](/Core/GlyphsCore/GSBaseObject/undoManagerCheck) — The undo manager provided by the parent when undo registration is enabled, or `nil` otherwise.

