Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.spline.design/llms.txt

Use this file to discover all available pages before exploring further.

With the Clear Local Storage action, you can reset the persistent data of your variables back to their default values using an event trigger like Mouse Down. Learn more about enabling Local Storage on your variables.

Creating a new Clear Local Storage Action

1. Select an object and create an event on the events panel. 2. Open the event and find the โ€œActionsโ€ panel. 3. Add โ€œClear Local Storageโ€ to your actions.

Customizing a Clear Local Storage Action

  • All Variables โ†’ Clears the persistent data from all variables with local storage enabled.
  • Single Variable โ†’ Select a specific variable to clear its persistent data.
image
Give it a try โ˜๏ธย - Change the values on the bars, then press the Clear button to reset them.