<!--
{
  "availability" : [
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TabletopKit",
  "identifier" : "/documentation/TabletopKit/StateBookmark",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "TabletopKit"
    ],
    "preciseIdentifier" : "s:11TabletopKit13StateBookmarkV"
  },
  "title" : "StateBookmark"
}
-->

# StateBookmark

A snapshot of the game state at a point in time.

```
struct StateBookmark
```

## Overview

Add bookmarks between turns so that you can jump to a prior turn and continue gameplay from there. When you jump to a bookmark, you reset the game state back to that point in time.

To add a bookmark, use the [`createBookmark(_:context:)`](/documentation/TabletopKit/TabletopAction/createBookmark(_:context:)) or similar method. To jump to a bookmark, use the [`jumpToBookmark(_:)`](/documentation/TabletopKit/TabletopGame/jumpToBookmark(_:)) or similar method.

## Topics

### Initializing bookmarks

[`init(id: StateBookmark.ID)`](/documentation/TabletopKit/StateBookmark/init(id:))

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`Identifiable`](/documentation/Swift/Identifiable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)