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

findResource

findResource(world, name): ResourceHandle | undefined

The resource installed on world under name, or undefined where none is: what a name held as text, such as a refusal’s detail, is read by. Health is the engine’s, so it is found on every world, with its defaults where the world lists no resources().

Parameter Type
world World
name string

ResourceHandle | undefined