Game Maker

Remove Inventory Item

Removes a specific quantity of an item from a player's inventory.

This action searches a player's inventory for a specific material and removes a specified amount.

Configuration

  • Material: The item type to remove.
  • Amount: How many of the item to remove.
  • Target: The Player to remove the item from.

Use Cases

  • Consuming a key when it is used to open a door.
  • A shop system that takes payment from a player.
  • A quest where a player must turn in a certain number of items.