Save and Load states directly through editor?

Is there a way to save, load states directly from the editor? or maybe have a list of states you can choose from and load them without having to go through the three dots and choosing a location and loading it?


The toolbar menu actions can be accessed from scripts with the toolbar function. It’s also possible to store states in the browser’s cache and recall them using storage, getState and setState, for example:

// save state script
var state = getState("root")
storage.setItem("my_state", state)

// recall state script

This is amazing! Thank you so much! You are a wizard!