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

SetSavedEntityOptions

What setSavedEntity takes.

Property Type Default value Description
key? string "main" The saved-entity key whose record the entity restores and is captured into: one per character a player switches between.
restore? boolean true Whether the key’s record restores onto the entity as it is registered: false starts it fresh, as a roguelike’s new run does, and the next capture writes over the key’s record.