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

findSavedEntity

findSavedEntity(world, player, savedEntityKeyOptions?): Entity | null

The entity player’s save keeps under key, or null where none is registered there: her character under main, unless the game names another.

Parameter Type
world World
player Entity
savedEntityKeyOptions SavedEntityKeyOptions

Entity | null