---
title: "updateCounter(_:context:)"
framework: tabletopkit
role: symbol
role_heading: Type Method
path: "tabletopkit/tabletopaction/updatecounter(_:context:)"
---

# updateCounter(_:context:)

## Declaration

```swift
static func updateCounter(_ counter: ScoreCounter, context: UInt64 = 0) -> Self
```

## See Also

### Keeping score

- [updateCounter(matching:value:context:)](tabletopkit/tabletopaction/updatecounter(matching:value:context:).md)
