Cards are an object type in Tabletop Playground. Card objects can represent playing cards, tiles, or tokens. They have several properties that distinguish them from generic objects: Cards can be stacked – if you drop a card onto another card or stack of the same shape and size, both will get combined into a stack. You can take the top card from a stack by dragging it off. If you want to take a whole stack, click on it and hold until you pick up the stack.
While you hold a card, its face isn’t visible to other players (they will only see a grey blur). To prevent cheating, the card front face is not visible for yourself either while you hold a card with its back face up. Cards can also be used with card holders, and their faces can be hidden from players that aren’t the owner of the card holder.
Card stacks have two custom context actions:
Shuffle: Randomly shuffles the cards in the stack.
Deal: Gives out a card to each card holder present in the game.
If you want to create your own textures for the hexagonal cards, here’s the corresponding texture map.