---
title: "addObserver(_:)"
framework: tabletopkit
role: symbol
role_heading: Instance Method
path: "tabletopkit/tabletopgame/addobserver(_:)"
---

# addObserver(_:)

## Declaration

```swift
func addObserver(_ observer: some TabletopGame.Observer)
```

## See Also

### Observing actions

- [TabletopGame.Observer](tabletopkit/tabletopgame/observer.md)
- [removeObserver(_:)](tabletopkit/tabletopgame/removeobserver(_:).md)
- [TabletopGame.ActionCancellationReason](tabletopkit/tabletopgame/actioncancellationreason.md)
