> For the complete documentation index, see [llms.txt](https://docs.easy.gg/scripting/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.easy.gg/scripting/bedwars-scripting/services/itemservice.md).

# ItemService

Example usage:

```lua
-- Randomly spawn resources around the map
while task.wait(0.2) do
    local position = BlockService.getAboveRandomBlock()
    ItemService.dropItem(ItemType.EMERALD, position)
end
```

### Functions

#### dropItem(itemType: [ItemType](/scripting/bedwars-scripting/types/itemtype.md), position: [**Vector3**](https://create.roblox.com/docs/reference/engine/datatypes/Vector3), amount: bool | nil)

Drop an item at a location. If you supply an amount that will be the item stack size.
