---
title: "init(from:)"
framework: tabletopkit
role: symbol
role_heading: Initializer
path: "tabletopkit/tablevisualstate/pose2d/init(from:)"
---

# init(from:)

Creates a new instance by decoding from the given decoder.

## Declaration

```swift
init(from decoder: any Decoder) throws
```

## Parameters

- `decoder`: The decoder to read data from.
