blocks capable of mutating #2534
Replies: 2 comments 4 replies
-
|
maybe when loading the extension you can make a little script set up all of the blocks(I don't know if you can do that)? Nethertheless it is very cool! |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
save any block data in extension storage and re-mutate the blocks in runtime.on("PROJECT_LOADED",... |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently working on an extension with blocks that can mutate; in other words, they change their structure.


Even though I've achieved that, I'm having the problem that when I save and load a project, the modified structures are lost, even though the inputs still exist, they're just not visible.
Does anyone have any idea how to make a block save its altered state and not load the normal one when loading a project?
before saving
after saving
Beta Was this translation helpful? Give feedback.
All reactions