---
title: "init(faceUp:parentID:seatControl:pose:entity:)"
framework: tabletopkit
role: symbol
role_heading: Initializer
path: "tabletopkit/cardstate/init(faceup:parentid:seatcontrol:pose:entity:)"
---

# init(faceUp:parentID:seatControl:pose:entity:)

Creates a card state with the given faceUp value, parent, controlling seats, pose, and associated entity providing the bounding box.

## Declaration

```swift
@MainActor @preconcurrency init(faceUp: Bool, parentID: EquipmentIdentifier, seatControl: ControllingSeats = .any, pose: TableVisualState.Pose2D = .identity, entity: Entity)
```

## See Also

### Creating a card state

- [init(faceUp:parentID:seatControl:pose:boundingBox:)](tabletopkit/cardstate/init(faceup:parentid:seatcontrol:pose:boundingbox:).md)
- [faceDown(parentID:seatControl:pose:boundingBox:)](tabletopkit/cardstate/facedown(parentid:seatcontrol:pose:boundingbox:).md)
- [faceDown(parentID:seatControl:pose:entity:)](tabletopkit/cardstate/facedown(parentid:seatcontrol:pose:entity:).md)
- [faceUp(parentID:seatControl:pose:boundingBox:)](tabletopkit/cardstate/faceup(parentid:seatcontrol:pose:boundingbox:).md)
- [faceUp(parentID:seatControl:pose:entity:)](tabletopkit/cardstate/faceup(parentid:seatcontrol:pose:entity:).md)
