Load a project usings its ID from scratch.mit.edu.
Export a specific sprite to a compressed sprite3 file.
The ID of the target
Export a specific sprite to a compressed sprite3 file.
The ID of the target
Post sprite info to the target that's being dragged, otherwise the editing target.
the project to a compressed sb3 file.
the project to a compressed sb3 file.
Updates the value of a variable. Returns true if the target and variable were successfully found and updated, otherwise null.
Update a sound.
The index of the sound in the current sprite
The new audio data
Optional
encodedWAV: ArrayBufferThe data of an encoded WAV. If not provided, the new sound won't be saved if the project is exported.
The target that's currently being dragged, if any.