Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

Bag

Bag(props): Element

The player’s bag, up the right edge of the screen unless slot names another place, one button a stack: a press wears what has a slot and uses anything else. An empty slot draws nothing. It sits in a Hud, as a Panel does; a game that wants another bag writes its own from useInventory.

Parameter Type
props BagProps

Element