# `GSLayer lastOperation:`

*Instance Method*

The most recent update affecting the layer or its referenced content, while avoiding component cycles.

## Declaration

```swift
func lastOperation(_ seenComponents: NSMutableSet) -> TimeInterval
```

```objc
- (NSTimeInterval) lastOperation:(NSMutableSet *) seenComponents;
```

```python
lastOperation_(seenComponents: set) -> float
```

## Parameters

- `seenComponents` — Glyph names already visited while traversing components.

## See Also

### Update State

- [`GSLayer.lastUpdate`](/Core/GlyphsCore/GSLayer/lastUpdate) — The time of the most recent geometry invalidation.
- [`GSLayer.lastOperation`](/Core/GlyphsCore/GSLayer/lastOperation) — The most recent update affecting the layer or its referenced content.
- [`GSLayer.upToDate`](/Core/GlyphsCore/GSLayer/upToDate) — Whether derived representations are newer than changes that affect the layer.
- [`GSLayer.isUpdatingMetrics`](/Core/GlyphsCore/GSLayer/isUpdatingMetrics) — Whether the layer is currently updating its side bearings.
- [`GSLayer.content`](/Core/GlyphsCore/GSLayer/content) — A KVO dependency key for changes to any content of the layer.

