Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Save Local Value

The Save Local Value node saves a key-value pair to the device local storage. This is useful for keeping data such as user preferences or game progress between sessions.

Inputs

  • Flow : runs the node.

  • Key (String) : a unique name for the data. You will use it to read the value later.

  • Value (String) : the data to save, as a string. To save numbers or other types, convert them to strings first.

The node has no flow output: put it at the end of a flow.

How It Works

When this node runs, it stores the Key and Value in the local storage. If a value with the same key already exists, it is overwritten.

Use Cases

  • Save user preferences, such as language settings or audio levels.

  • Store game progress, such as the current level or score.

  • Keep AR-specific data, like object positions or user-generated content.

Last updated