---
title: TossableRepresentation
framework: tabletopkit
role: symbol
role_heading: Structure
path: tabletopkit/tossablerepresentation
---

# TossableRepresentation

An object that represents geometric shapes that the player can throw during gameplay, such as dice.

## Declaration

```swift
struct TossableRepresentation
```

## Topics

### Creating geometric shapes

- [cube(height:in:restitution:)](tabletopkit/tossablerepresentation/cube(height:in:restitution:).md)
- [decahedron(height:in:restitution:)](tabletopkit/tossablerepresentation/decahedron(height:in:restitution:).md)
- [dodecahedron(height:in:restitution:)](tabletopkit/tossablerepresentation/dodecahedron(height:in:restitution:).md)
- [icosahedron(height:in:restitution:)](tabletopkit/tossablerepresentation/icosahedron(height:in:restitution:).md)
- [octahedron(height:in:restitution:)](tabletopkit/tossablerepresentation/octahedron(height:in:restitution:).md)
- [sphere(radius:in:restitution:)](tabletopkit/tossablerepresentation/sphere(radius:in:restitution:).md)
- [tetrahedron(height:in:restitution:)](tabletopkit/tossablerepresentation/tetrahedron(height:in:restitution:).md)

### Getting the face

- [face(for:)](tabletopkit/tossablerepresentation/face(for:).md)
- [TossableRepresentation.TossableFace](tabletopkit/tossablerepresentation/tossableface.md)
- [TossableRepresentation.SphereFace](tabletopkit/tossablerepresentation/sphereface.md)
- [TossableRepresentation.CubeFace](tabletopkit/tossablerepresentation/cubeface.md)
- [TossableRepresentation.DecahedronFace](tabletopkit/tossablerepresentation/decahedronface.md)
- [TossableRepresentation.DodecahedronFace](tabletopkit/tossablerepresentation/dodecahedronface.md)
- [TossableRepresentation.IcosahedronFace](tabletopkit/tossablerepresentation/icosahedronface.md)
- [TossableRepresentation.OctahedronFace](tabletopkit/tossablerepresentation/octahedronface.md)
- [TossableRepresentation.TetrahedronFace](tabletopkit/tossablerepresentation/tetrahedronface.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Copyable](swift/copyable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Interactions

- [Simulating dice rolls as a component for your game](tabletopkit/simulating-dice-rolls-as-a-component-for-your-game.md)
- [TabletopInteraction](tabletopkit/tabletopinteraction.md)
- [TableSnapshot](tabletopkit/tablesnapshot.md)
- [TableVisualState](tabletopkit/tablevisualstate.md)
- [TableCursor](tabletopkit/tablecursor.md)
- [TableCursorIdentifier](tabletopkit/tablecursoridentifier.md)
