You can add one or more Dropzones to a Container. Dropzones provide the following benefits:
A Dropzone specifies a layout for the Components that a user moves into it.
A Dropzone can restrict which of your game’s Components it accepts. For example, if your game has 2 different decks of cards, you could restrict a Dropzone to only accept cards from one of these two decks. A Dropzone can also accept multiple types of Components, e.g. a specific type of dice, in addition to a specific deck of cards.
A Dropzone allows you to define the desired state of Objects you move onto it. For example, you could make a Dropzone automatically flip all cards face-down when they are moved onto it (e.g., for a draw pile).
When a Container is moved or rotated, all of the objects in the Container move with it, including Objects in any Dropzones inside the Container, and their Dropzone’s layout.
There are currently two kinds of Dropzones: Grids and Anchors.
Again, note that a Container may (but does not have to) contain multiple different Dropzones.
An Anchor is a type of Dropzone. There are currently two kinds of Anchors:
Point Anchor - The objects that are dropped onto a Point Anchor will snap to that point. For example, this can be useful for a stack of cards, or to provide specific locations for cards to be dropped, e.g. to provide a neatly arranged “market” of cards.
Line - The objects that are dropped onto a Line Anchor are distributed evenly along that line. You can set the start and end point of a Line Anchor, as well as the gap between Objects that are moved onto the Line Anchor. For example, a Line Anchor allows you to automatically stack cards vertically, with just a small top portion of each card visible.
To add a new Dropzone to a Container, select the + button and select the type of Dropzone.
Select a Dropzone to configure it. These are the most common attributes to update: