Make a new category programatically

Exactly what the title says, is it possible to make a category programatically (preferably without js)

I assume yes but don’t know how

I tried this but it doesn’t work
untitled script pic 73

I don’t think you can (without hacking the Snap! source code).

Oh that’s okay

I actually created a library to do this, although it does use javascript.
https://snap.berkeley.edu/snap/snap.html#present:Username=ego-lay_atman-bay&ProjectName=categories%20extension

image
we can change categories of custom blocks using this, but we can only change it to categories already made.

so we should be able to make new categories using this block but we cant :(

is there a way to have an exponential function in scratch?

The exponent block?

Thank you

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.