JSAddon #809
KhandamovA
started this conversation in
Show and tell
JSAddon
#809
Replies: 1 comment 2 replies
-
This looks cool! Is there a repo? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, I want to show you my first extension. This extension adds support for JavaScript functions (I understand that this will most likely not make it into the gallery).
executable Js code can return function results directly to "Scratch" environment variables.
Also, the executable js code supports getting values from "Scratch" environment variables if you declare the variables in a special way beforehand.
Also my extension introduces a new way to interact with json objects.
After creating a JSON variable, we can get it in the variable list.
The main feature is dynamic field access.
There is a special block to get the value
You can also add and remove keys.
Well, here are the blocks for working with arrays in json objects.
What are your opinions and suggestions?
Beta Was this translation helpful? Give feedback.
All reactions