Slot
A Slot is a container on an actor that accepts placed objects.

This guide explains how to create and configure Slots using the All On Board! Mod Kit. The following is a list of things you can do with Slots in All On Board!:
- Create Slots to place Game Elements
- Create Slots to place Cards
- Place Cards Face Down in a Slot
- Configure Game Elements for Slotting: Tokens, Dice, Cards, etc.
- Slot a Game Element at the Start of the Game
- Restrict Which Game Elements a Slot Accepts
- Unlock a Slot by Placing a Game Element in Another Slot
Create a simple Slot
Step 1 - Create a game element
There are two ways to do this:
Using All On Board! Mod Kit Toolbar
Select our toolbar and hover over All On Board!, then select Game Element.

Next, select the folder where you want to save the blueprint and give it a name if you prefer a different name than the default name.
Using the Pick Parent Class Dialog
Right-click on an empty space in the folder where you want to create your slot. The Add New menu will open. Then, hover over All On Board! and select Blueprint Class (All On Board!).

When the Pick Parent Class dialog opens, select Game Element.

Next, give the Blueprint a name if you prefer a different name than the default name. For example: BP_Slot
Step 2 - Register the Blueprint in the Data Table
Once you have completed the previous step, regardless of which method you used, a window will automatically open to register your new slot in the Game Element Index Data Table. This table contains a list of all the objects that will be used in your game.
The correct Data Table is selected automatically, but make sure to check it just in case. For example, if your Game ID is "Example", the Data Table will be named DT_Example_GameElementIndexGeneral.

Then, enter the name you want your slot to have in the table and click Register. For example: Slot
Step 3 - Add a Slot Component
Before continuing with this guide, remember that if you want to place Cards in a Slot, you must follow this guide: Create a Slot for Cards
For this last step, open the blueprint you have just created.

In the Components panel on the left side of the screen, you can see the components, which are a special type of Object that Actors can attach to themselves as sub-objects.
To add a slot component you have to click on Add, search “Slot” and select Slot.


Afterwards, add a Box Collision component in the same way you added the slot.

This Box Collision component must be inside the Slot component. You can do this by dragging the Box Collision component and dropping it onto the Slot component.

Adjust the Box Collision shape to cover the space you want the Slot to occupy on the table.

Step 4 - Configure your Slot Component
Select the Slot component. In the panel on the right, you’ll find the Slot Component section, where you can configure the Slot Strategy, which determines how objects are placed in the slot.

- Ghost Attach: Used for slots that hold a single element.
- Ghost Attach Adaptive: Holds multiple elements in a straight line, with a configurable direction.
- Ghost Attach Adaptive Arc: Holds multiple elements along an arc, with a configurable curvature.
- Ghost Attach Adaptative Grid: Arranges multiple elements in a grid. You set the number of rows and columns, and the grid adapts accordingly.
- Ghost Attach Adaptative Stack: Places multiple elements on top of one another.

If you want to learn more about the Slot Component, go here:
If the game element you want to place in the slot does not have a tag assigned yet, follow this guide: Prepare a Game Element to Be Slotted
The Requirement field specifies the tag of the game elements that can be placed in the slot. To configure it, click Add Element in the list and select Requirement Actor Tag.


In Required Tag, enter the tag assigned to the game element you want to allow in the slot.

Finally, you can configure the slot's capacity in the Slot Component.
- Infinite Capacity: Enable this option to allow an unlimited number of Game Elements in the slot, such as tokens, dice, or cards.
- Slot Capacity: To limit the number of Game Elements the slot can hold, disable Infinite Capacity and enter the maximum number of Game Elements allowed in the slot.
If you want to place a slot or multiple slots like this one on the table, go to this page: Deploying elements
Create a Slot for Cards
In the All On Board! Mod Kit, slots for cards are called Adaptive Slots. They allow you to place cards inside them, which are automatically arranged.
Before starting this guide, you must create the Slot Blueprint by following these guides:
Step 1 - Add a Card Slot Component and Box
For this step, open the blueprint you have just created.

In the Components panel on the left side of the screen, you can see the components, which are a special type of Object that Actors can attach to themselves as sub-objects.
To add a slot component you have to click on Add, search “AOBCardSlot” and select it.


Afterwards, add a Box Collision component in the same way you added the slot.

This Box Collision component must be inside the Slot component. You can do this by dragging the Box Collision component and dropping it onto the Slot component.

Step 2 - Configure the blueprint
The first thing you need to do is adjust the Box Component's box extent. For a standard card, use the following dimensions, depending on whether you want to slot a single card or multiple cards. Slots that can hold multiple cards are called Adaptive Slots.


Then, select the AOBCard Slot component and scroll down in the Details panel until you find the Slot Component section. Once you find it, add a requirement.

If the game element you want to slot does not have a tag yet, go here: Prepare a Game Element to Be Slotted
Requirement is the field where you specify the tag of the Game Element that can be placed in the Slot. Click Add Element in the list and select Requirement Actor Tag.


If you want a Slot to hold a single card, you don't need to change the Slot Strategy. However, if you want a Slot to hold multiple cards, you need to change the Slot Strategy to Ghost Attach Adaptive under Slot Strategy

After that, under Slot Direction, select Horizontal Center so that the Game Elements are arranged horizontally within the Slot.

Whether you want to slot a single card or multiple cards, you need to configure the Slot's capacity.
- Infinite Capacity: Check this box if you want to slot an unlimited number of Game Elements, such as tokens, dice, or cards.
- Slot Capacity: If you want to limit the number of Game Elements that can be slotted, uncheck Infinite Capacity and enter the maximum number of objects you want the Slot to hold.


Finally, your card slot or multiple card slots will be ready to use.
Step 3 - Improve your Slot
To create a professional-looking slot, you need to add a new component: a Static Mesh Component.

Then, select the Static Mesh you need. If you created a Multiple Cards Slot, you can use SM_000AOB_AdaptativeSlot.


If you want to place a slot or multiple slots like this one on the table, go to this page: Deploying elements
Configure a Card Slot to Display Cards Face Down
The first step you need to follow this guide is have a Card slot, if you dont have a card slot yet go here: Create a Slot for Cards
Step 1 - Open the Card Slot Blueprint
Find the Slot Blueprint where you want to place your face-down cards and open it.

Step 2 - Configure the Card Slot Section
Select the AOBCard Slot component and, in the Details panel on the right, search for Card Slot. Enable Force Slotted vCards Visibility to control who can see the front of the cards placed in the slot.
Choose one of the following visibility modes:
- Visible to All: Everyone can see the front of the card. This is the default mode.
- Only Owner: Only the card's owner can see its front.
- Hidden: Nobody can see the front of the card, including its owner.——

Prepare a Game Element to Be Slotted
Step 1 - Add the Slottable Component
Open the Game Element Blueprint you want to be slottable and check whether the Components panel already contains a component named “Slottable”. There may be many components, so make sure to check carefully.
If this component doesn’t exist, click on “Add” and select “Slottable”.

If the Slottable component already exists, go to the next step.
Step 2 - Write an Actor Tag for this Game Element
Select the parent component of the Blueprint and add an Actor Tag to the list of tags. For example, you could add the name “GameElement”, “Cards” or “Token”, or any other tag that intuitively describes the game element.
This way, any slot with GameElement, or another tag, set as its requirement will be able to slot any game element with the corresponding tag.

Spawn and Slot a GameElement at the Beginning of the Game
Step 1 - Create the Proxy
Open the Slot Blueprint where you want your Game Element to appear slotted at the start of the game.

In the Components panel on the left side of the screen, click Add and search for Game Element Proxy Component Attach To Slot .

Step 2 - Configure the proxy
Next, select the newly created component and expand the AOB and Factory sections.

In the AOB section, under Game Element Name, select the Game Element you have created and want to spawn in this slot at the start of the game.
For example, if you want a die to be slotted here when the game starts, select the corresponding Game Element. In the image below, the Game Element named Die_D6 is selected in the Game Element Name field.

If you want to preview the Game Element you selected, check Override Preview Mesh and select the mesh used in your Game Element Blueprint.
If you don't remember which mesh it uses, you can open the Blueprint by clicking the Open Blueprint button.

Furthermore, you can open the Game Element's Data Asset from here. The Data Asset is the file where you can edit the information displayed when you pick up the item.
Remember that you can use this component to preview your Game Element's appearance by changing its mesh and material. However, these changes will not be applied to your Blueprint unless you click Apply Mesh To Blueprint.

After that, in the Factory section, enter the name of the Slot component in your Blueprint.
For example, in this case, the Slot component is named Slot.

Finally, when you place this Slot on the table and start the game, the Game Element will appear already slotted into it.
If you want to place a slot or multiple slots like this one on the table, go to this page: Deploying elements
Restrict Which Game Elements a Slot Accepts
A Requirement is a rule that checks whether an object meets certain criteria before allowing an action to take place.
If you want a slot to accept only a specific Game Element, follow this guide first:
You configure requirements in the Details panel of a component. You can combine multiple requirements to create complex rules without writing any code.
- Requirement Actor Tag - The Game Element must have a specific tag.
- Requirement Class - The Game Element must be of a specific Blueprint Class.
- Requirement Game Element Name - The Game Element is registered with a specific name on the GameElementsIndexGeneral table.
- Requirement Game Element Type - The Game Element is registered with a specific type on the GameElementsIndexGeneral table.


For example, if you want a slot to accept only a specific token, you need to open the token's Blueprint and add an Actor Tag. Then, configure a Requirement Actor Tag on the slot to ensure that only tokens with the specified tag can be placed in it.


Unlock a Slot by Placing a Game Element in Another Slot
Esto se puede hacer sin requirement
To follow this guide you need to have 2 slots following this guides:
Receta requirement: hacer que solo pueda haber un tipo de carta en los slot