# `GSPath elementDidChange:`

*Instance Method*

Notifies the path that one of its elements changed.

## Declaration

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

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

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

## Discussion

This invalidates path caches and forwards the change to the layer.

