---
title: "tabletopGame(_:parent:automaticUpdate:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/tabletopgame(_:parent:automaticupdate:)"
---

# tabletopGame(_:parent:automaticUpdate:)

Adds a tabletop game to a view.

## Declaration

```swift
@MainActor @preconcurrency func tabletopGame(_ game: TabletopGame, parent: Entity, automaticUpdate: Bool = true) -> some View

```

## See Also

### Creating a tabletop game

- [tabletopGame(_:parent:automaticUpdate:interaction:)](swiftui/view/tabletopgame(_:parent:automaticupdate:interaction:).md)
