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

useCargoImage

useCargoImage(kind): string | undefined

A picture of one good of kind for a HUD: its image, or the engine’s render of its model, undefined until that lands and where it cannot, such as a page with no WebGL.

Parameter Type
kind CargoHandle

string | undefined