How do you make a Javascript extension? I've seen other projects do it.
Welcome to the community! In order to use Javascript extensions, run Snap!, go to the settings and turn on Javascript extensions. Once you do, a block should appear in the operators section that allows you to write Javascript.
this is the block and how to use it:
You also have to put the javascript function block into a call block (no ring). The parameters are just like in a javascript function, they are input variables. To add inputs, just put the values into the "with inputs" part of the call block. For example,
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.