Skip to content

Limits

These constant values will show up a lot throughout this specification. They can be changed to one's liking, however for true accuracy to Scratch, they should all have their "Standard Scratch:" values. Alternative values are provided as well.

Stage Bounds

Stage Width

The horizontal size of the stage. This is an arbitrary positive integer.

Standard Scratch: 480

Widescreen: 640

Stage Height

The vertical size of the stage. This is an arbitrary positive integer.

Standard Scratch: 360

TODO: Explain edges, and provide key distinctions between the Stage and the graphics window?

Left Edge

The horizontal position of the left edge. This is derived from the stage width.

Formula: stage width / -2

Standard Scratch: -240

Right Edge

The horizontal position of the right edge. This is derived from the stage width.

Formula: stage width / 2

Standard Scratch: 240

Top Edge

The vertical position of the top edge. This is derived from the stage height.

Formula: stage height / 2

Standard Scratch: 180

Bottom Edge

The vertical position of the bottom edge. This is derived from the stage height.

Formula: stage height / -2

Standard Scratch: -180

Quantities

Max Items

The maximum length of a list, aka the most items that one list can hold. This limit is imposed to prevent excessive memory usage by projects. This is an arbitrary positive integer.

Standard Scratch: 200000

Modified Scratch: None (many Scratch mods do not enforce this limit, though memory overflow may eventually occur)

Max Clones

The maximum number of clones that can exist at a time. If this limit is reached, another clone cannot be created until one is deleted. This limit is imposed to prevent excessive memory usage by projects. This is an arbitrary positive integer.

Standard Scratch: 300

Modified Scratch: None (many Scratch mods do not enforce this limit, though memory overflow may eventually occur)