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

# CreateBookmarkAction

An action that takes a snapshot of the game.

```
struct CreateBookmarkAction
```

## Overview

To create a bookmark action, use the [`createBookmark(_:context:)`](/documentation/TabletopKit/TabletopAction/createBookmark(_:context:)) or the [`createBookmark(id:context:)`](/documentation/TabletopKit/TabletopAction/createBookmark(id:context:)) static method.

## Topics

### Getting the bookmark

[`var bookmark: StateBookmark`](/documentation/TabletopKit/CreateBookmarkAction/bookmark)

### Getting game-specific information

[`var context: UInt64`](/documentation/TabletopKit/CreateBookmarkAction/context)

An integer value that your game uses.

## Relationships

### Conforms To

[`TabletopAction`](/documentation/TabletopKit/TabletopAction)

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

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

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

---

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)