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

# withCurrentSnapshot(_:)

## Declaration

```swift
func withCurrentSnapshot(_ callback: (TableSnapshot) -> Void)
```

## See Also

### Creating a tabletop game

- [init(tableSetup:version:)](tabletopkit/tabletopgame/init(tablesetup:version:).md)
- [rootPose](tabletopkit/tabletopgame/rootpose.md)
- [update(deltaTime:)](tabletopkit/tabletopgame/update(deltatime:).md)
