Skip to content

Kiln API / kiln / takeSnapshot

Function: takeSnapshot() ​

ts
function takeSnapshot(app, opts?): Snapshot;

Captures entities and trait values. Entities are sorted by id; trait keys by name.

Parameters ​

ParameterType
appApp
optsSnapshotOptions

Returns ​

Snapshot