Containers define areas of the table that can “hold” (or, well, contain) Components. A Container may also hold one or more other Containers inside it. Common uses of containers include boards, player hands, player mats, and zones for decks or resources.
Here are the most common attributes to configure:
By default, all players can see all objects. To hide objects from some players, such as cards in players’ hands, you’ll need to configure the View Policy of each of those containers. This must be done not to the component template that defines the container, but rather to that component’s individual objects in the game.
A container object can be open or closed; You can toggle between the two by hitting F after selecting the container.
But a container being open or closed is different to the contained objects being hidden. That's down to the view policy of the container:
If the View Policy of a container object denies a seat a view of it, then the container's "Hidden Style" attribute takes effect as follows for players in a denied seat:
Hidden Style | Look of the Container to denied Seats | Look of Objects in the Container to denied Seats |
---|---|---|
Opaque | Always opaque (black) | If the Container is open: |
→ Objects in the Container take on their variant’s Hidden Style. | ||
If the Container is Closed: | ||
→ Objects fully inside the Container are invisible. Objects partially inside the Container take on their variants’ Hidden Style. | ||
Open | Base asset (or fill color) | Objects in the Container take on their variant’s Hidden Style. |
Closed | Cover asset (or fill color) | Objects in the Container take on their variant’s Hidden Style and cannot be picked up. |
None | If the Container is open: | |
→ Base asset (or fill color). | ||
If the Container is closed: | ||
→ Cover asset (or fill color) | Objects in the Container take on their variant’s Hidden Style. |