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, sent as a command, so the next step runs it alone as a room runs it in a room. 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