ReferenceScripting APIMotionStoreset
MotionStore.set
methodKeeps a value (anything JSON can hold).
| Name | set |
|---|---|
| Kind | method of MotionStore |
| Called as | scene.store.set(…) |
| As a node | Remember Value (logic graph) |
| Since | 0.3 |
Syntax
set( key: string, value: unknown): voidParameters
| Name | Type | Description |
|---|---|---|
key | string | Its name, 64 letters at most |
value | unknown | What 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
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.