gilbert189 @gilbert189

How do people upload raw SVG files to Scratch? I want to know how

P.S. Don’t just say “use Scratch Addons“. I don’t want to install it atm

Oct 30, 2022, 4:17 AM
6
View all

comments

Highlighted comment

Assuming you mean to assets: MD5 hash the file and POST the file to https://assets.scratch.mit.edu/[hash].svg with your scratchsessionid (and probably scratchcsrftoken).

use Scratch Addons

Alternatively, you can make/import the image as a costume in the paint editor and save the project while looking at the network log (in your browser’s developer tools) to get the uploaded asset’s URL,

I think I’ve tried that and IIRC it doesn’t really work very well