Skip to main content
Version: 2026.7
Still in testing

The SDK of this version is still being tested, and these pages are being updated with it: names, menus and procedures may still change before the release. If you build content for a platform already in production, follow the documentation of that version — pick it from the version menu at the top right.

Inventory Nodes

These nodes set up the inventory and the tools during the experience. They are provided by the Virtuademy-SDK-Environments package.

The three nodes that change the inventory (Set Mode, Set Slot Counts and Add Equipment Slot) act on an Inventory Placeholder. Their Inventory input is that placeholder; left empty, it is the placeholder on the same object as the graph. A node without a placeholder stops the graph with an error: connect one, or put the graph on the object that has it.

Flow Nodes​

Set Mode Node​

🔍 Virtuademy > Flow > Virtuademy Inventory: Set Mode

This Node changes what the Inventory Placeholder shows: nothing, the tools' radial menu, or the inventory. The application hides what was shown and shows the new one.

  • ⬇️ Input:
    • Inventory (InventoryPlaceholder), the placeholder. Empty: the one on the graph's own object.
    • Mode (EInventoryMode), None, Tools or Inventory (default).

Set Slot Counts Node​

🔍 Virtuademy > Flow > Virtuademy Inventory: Set Slot Counts

This Node gives the inventory more slots, for example slots a task unlocks. Counts only grow: a value below the current one is ignored, because the slots may hold items.

  • ⬇️ Input:
    • Inventory (InventoryPlaceholder), the placeholder. Empty: the one on the graph's own object.
    • Wear Slots (int, default 1), the number of plain wear cells. It counts only when the placeholder declares no Equipment Slots.
    • Inventory Slots (int, default 2), the number of item slots.
Note

With declared Equipment Slots, add a slot with the Add Equipment Slot node instead. The inventory also grows on its own when an item does not fit: see Slots and quantities.

Add Equipment Slot Node​

🔍 Virtuademy > Flow > Virtuademy Inventory: Add Equipment Slot

This Node declares one more equipment slot during the experience. A slot already declared (same type and name) is not added twice.

  • ⬇️ Input:
    • Inventory (InventoryPlaceholder), the placeholder. Empty: the one on the graph's own object.
    • Type (EEquipmentSlotType), Hand or Custom (default).
    • Slot Name (string), for a Custom slot: the name the wearables give in their Wear Slot. A custom slot with no name is not added.
    • Icon (Sprite), optional: shown on the slot in place of its name.

See Equipment slots.

AddPickableToInventoryNode Node​

🔍 Virtuademy > Flow > Virtuademy inventory: AddPickableToInventoryNode

This Node puts a pickable into the local player's inventory, as if the player had picked it up.

  • ⬇️ Input:

    • Pickable (PickablePlaceholder), the item. Empty: the one on the graph's own object.
  • ⬆️ Output:

    • Added (bool), whether the item went into the inventory. false when it did not fit, or when the object has no pickable.

Set Alpha Node​

🔍 Virtuademy > Flow > Virtuademy Tools: Set Alpha

This Node sets the opacity of the tools' radial menu, from 0 to 1. At 0 the tools are unavailable: the menu is hidden and its keys neither open it nor switch tool (see Tools).

  • ⬇️ Input:
    • Alpha (float), the opacity.

Events​

The inventory raises events to scripts, not to nodes: InventoryModeChanged, SlotCountsChanged and EquipmentSlotsChanged on the Inventory Placeholder, and ToolUseStarted and ToolUseEnded on the tools. See Inventory and Tools.