---
title: EntityTabletop
framework: tabletopkit
role: symbol
role_heading: Protocol
path: tabletopkit/entitytabletop
---

# EntityTabletop

A protocol for the table surface in your game when you render it using RealityKit.

## Declaration

```swift
protocol EntityTabletop : Tabletop
```

## Overview

Overview To create a TableSetup object that configures your game table, pass an object that conforms to either the Tabletop or EntityTabletop protocol to the TableSetup initializer. If you render your table surface using RealityKit, conform to the EntityTabletop protocol. Implement your EntityTabletop structure to set the protocol properties, such as the shape, entity, and id properties. struct Table: EntityTabletop {     var shape: TabletopShape     var entity: Entity     var id: EquipmentIdentifier          init() {         self.entity = try! Entity.load(named: "table/table", in: contentBundle)         self.shape = .round(entity: entity)         self.id = .table     } }

## Topics

### Creating a round or rectangular table

- [shape](tabletopkit/entitytabletop/shape.md)

### Displaying the tabletop

- [entity](tabletopkit/entitytabletop/entity.md)

### Default Implementations

- [Tabletop Implementations](tabletopkit/entitytabletop/tabletop-implementations.md)

## Relationships

### Inherits From

- [Identifiable](swift/identifiable.md)
- [Tabletop](tabletopkit/tabletop.md)

## See Also

### Essentials

- [Creating tabletop games](tabletopkit/creating-tabletop-games.md)
- [Synchronizing group gameplay with TabletopKit](tabletopkit/synchronizing-group-gameplay-with-tabletopkit.md)
- [TabletopGame](tabletopkit/tabletopgame.md)
- [TableSetup](tabletopkit/tablesetup.md)
- [Tabletop](tabletopkit/tabletop.md)
- [TabletopShape](tabletopkit/tabletopshape.md)
