Motion
Get Motion

ReferenceScripting APIMotionStoreset

MotionStore.set

method

Keeps a value (anything JSON can hold).

Nameset
Kindmethod of MotionStore
Called asscene.store.set(…)
As a nodeRemember Value (logic graph)
Since0.3

Syntax

set(    key: string,    value: unknown): void

Parameters

NameTypeDescription
keystringIts name, 64 letters at most
valueunknownWhat to keep

Returns

Nothing.

Remarks

Throws when it's too big, or the store is full.

See also

In examples: Constellations, Kelp Forest, Pulse, Rain Harbour, Resonance, Valley Hours