Skip to content

Welcome to Scratch Script

Scratch script is a domain specific language that is made to compile to a scratch .sb3 file which can be imported into the scratch website.

Example

The following is an example .scratch file that makes the cat step through the items in a list:

sprite Stage{};

sprite cat{
    script{
        start();
        setxy(0, 0);
        move(3);
        }
    }
    costumes{
        "cat.svg"
    }
}