Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Leopard: Edit Scratch projects as JavaScript code
- godsparrow
-
Scratcher
1 post
Leopard: Edit Scratch projects as JavaScript code
why is this failing https://scratch.mit.edu/projects/1107128476/
- POW_Boy1
-
Scratcher
31 posts
Leopard: Edit Scratch projects as JavaScript code
For some reason I tried to convert this https://scratch.mit.edu/projects/1106616352 to java but it just, doesn't work. I tried all the options, The sandbox says I don't have any permission or it doesn't exist, another thing that it keeps on happening is this error thingy stating - "There was an error converting your project.
request to https://assets.scratch.mit.edu/internalapi/asset/2df77062fad7078aac7ba42fc7898db9.png/get/ failed, reason: connect EMFILE 151.101.42.133:443 - Local (undefined:undefined)
Leopard only supports new projects (created in Scratch 3.0). And the only supported extension is “pen”; all others will fail.
If you aren't sure why your project is failing, ask on the forums!"
please help me with this.
request to https://assets.scratch.mit.edu/internalapi/asset/2df77062fad7078aac7ba42fc7898db9.png/get/ failed, reason: connect EMFILE 151.101.42.133:443 - Local (undefined:undefined)
Leopard only supports new projects (created in Scratch 3.0). And the only supported extension is “pen”; all others will fail.
If you aren't sure why your project is failing, ask on the forums!"
please help me with this.
- thenat123
-
Scratcher
35 posts
Leopard: Edit Scratch projects as JavaScript code
The website homepage is not blocked by my school but when I convert a project it gets blocked.
- DragonKing77_146
-
Scratcher
1 post
Leopard: Edit Scratch projects as JavaScript code
This project (https://scratch.mit.edu/projects/1120738178/) gives me this error (Cannot read properties of undefined (reading ‘value’)) when translating. unclear why its doing this so any help is good!
- secretuch
-
Scratcher
500+ posts
Leopard: Edit Scratch projects as JavaScript code
Cool!(This post is deleted)I'll try it out!
Last edited by secretuch (Feb. 18, 2025 16:31:32)
- midlandrjp
-
Scratcher
2 posts
Leopard: Edit Scratch projects as JavaScript code
Is it possible to add a feature that converts JavaScript back into scratch code? This way we can copy-paste code from our Javascript and run it in scratch. This could also help people understand Javascript better when the scripts get broken down into scratch code, Sort of like how Code.org allows you to toggle blocks and written code.
- BigNate469
-
Scratcher
1000+ posts
Leopard: Edit Scratch projects as JavaScript code
Is it possible to add a feature that converts JavaScript back into scratch code? This way we can copy-paste code from our Javascript and run it in scratch. This could also help people understand Javascript better when the scripts get broken down into scratch code, Sort of like how Code.org allows you to toggle blocks and written code.The difference is that code.org actually attempts to have their code be compatible with JS- and vice versa. Scratch doesn't- and Scratch lacks many features of JS, like returning values, objects, the prototype chain (including classes), null, undefined, nested arrays, promises, regular expressions, multiple mathematical operators (and a decent chunk of the Math class), JSON parsing, and URL parsing. That's a non-exhaustive list, by the way.
With something like code.org, they have built-in ways to handle that, while in Scratch, much of that would have to be done using slow and large polyfills.
- e_d_g_a_r
-
Scratcher
24 posts
Leopard: Edit Scratch projects as JavaScript code
why is the limit less the the limit for scratch? can they update the website so the limit is the same so large projects can be converted?
when green flag clicked
set [ maxsize] to ([ maxsize] of [ scratch])
- malyvb
-
Scratcher
17 posts
Leopard: Edit Scratch projects as JavaScript code
Hello! Reporting an issue
This project : https://scratch.mit.edu/projects/1135732930/ Which is 100% Pen, doesn't use any other extensions and was made in scratch 3
Doesn't convert.
Cannot read properties of undefined (reading ‘value’) pops up
This project : https://scratch.mit.edu/projects/1135732930/ Which is 100% Pen, doesn't use any other extensions and was made in scratch 3
Doesn't convert.
Cannot read properties of undefined (reading ‘value’) pops up
- battlegrounds_dev
-
Scratcher
21 posts
Leopard: Edit Scratch projects as JavaScript code
i have the same problemo as everyone else ^^^^ pls fix 

Last edited by battlegrounds_dev (Feb. 27, 2025 07:33:29)
- alexanderlazler
-
Scratcher
1 post
Leopard: Edit Scratch projects as JavaScript code
Issue: crashing
I try to load any project, like an sb3 file, but code sandbox crashes with 404. Any fixes?
- prithamjadhav12
-
Scratcher
3 posts
Leopard: Edit Scratch projects as JavaScript code
how to see translations of all blocks
- meowcow1025
-
Scratcher
2 posts
Leopard: Edit Scratch projects as JavaScript code
Will it work the other way around?
- blotre
-
Scratcher
35 posts
Leopard: Edit Scratch projects as JavaScript code
I wanna make a site based off of Leopard
- bugattibolide72
-
Scratcher
2 posts
Leopard: Edit Scratch projects as JavaScript code
Somehow It dos'ent convert one of my projects
- Rastuss19
-
Scratcher
10 posts
Leopard: Edit Scratch projects as JavaScript code
https://scratch.mit.edu/projects/1155281626/
This project runs really slowly so I am hoping that this helps it run faster. However, this project will not open and I am not sure why. Its trying to make a 4x4 square of letters where every row and column is a different word. My best guess is that the list is too long. Any ideas?
This project runs really slowly so I am hoping that this helps it run faster. However, this project will not open and I am not sure why. Its trying to make a 4x4 square of letters where every row and column is a different word. My best guess is that the list is too long. Any ideas?
- Rastuss19
-
Scratcher
10 posts
Leopard: Edit Scratch projects as JavaScript code
Never mind, I shortened the list and it worked
- tt5_my_guy365
-
Scratcher
100+ posts
Leopard: Edit Scratch projects as JavaScript code
What does this mean: There was an error converting your project.
Cannot read properties of undefined (reading ‘name’)
Leopard only supports new projects (created in Scratch 3.0). And the only supported extension is “pen”; all others will fail.
If you aren't sure why your project is failing, ask on the forums!
Cannot read properties of undefined (reading ‘name’)
Leopard only supports new projects (created in Scratch 3.0). And the only supported extension is “pen”; all others will fail.
If you aren't sure why your project is failing, ask on the forums!
- acohen_bhusd
-
Scratcher
500+ posts
Leopard: Edit Scratch projects as JavaScript code
projects like https://scratch.mit.edu/projects/546798362/ say “Something went wrong”
- stalebell510042
-
Scratcher
29 posts
Leopard: Edit Scratch projects as JavaScript code
https://scratch.mit.edu/projects/1143037618 will not work 

I'll try it out!