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

Loot

Loot(props): Element | null

A stack of an item on the entity, which the nearest of its targets whose body reaches it takes into the target’s bag, by default a character a player controls now; what no bag can take stays. It draws the model the item names, or a glowing gem in the item’s colour, as LootTrait’s registered view, which a view of the entity’s own replaces. With an id it stays taken across reloads.

Parameter Type
props LootProps

Element | null