Document.png Please expand this article or section. You can help by adding more information if you are an editor. More information might be found in a section of the talk page. (September 2018)

Scratch imposes limits on both the maximum and minimum size of a sprite depending on the dimensions of its costume and the stage. This tutorial explains how to override the costume size limit.

Note Warning: Making sprites too large may use a lot of memory, causing Scratch to lag or crash.


To make a sprite larger than it is normally possible, create a costume with a width and height of 0. This can be done by setting eraser size to a large number, such as 100, and drawing a large "dot". Then use these scripts:

when green flag clicked
set [costume v] to (costume [number v])//this variable remembers the previous costume
switch costume to (blank v)//this is the 0x0 costume which allows a large size
set size to (. . .::grey)%//insert a large value
switch costume to (costume)//the previous size remains when switching to the larger costume

Another way is to use a custom block:

define set large size (large size)
set [costume v] to (costume [number v])//this remembers the costume number
switch costume to (blank v)//the 0x0 costume
set size to (large size)%
switch costume to (costume)

This allows sizes up to infinity. It can be very useful for scrollers.

Note Note: To make a sprite smaller than normally possible, simply do the reverse. Create a large sprite (use the rectangle tool to make a rectangle as big as the stage or larger), then switch to the smaller one after changing the size.

See Also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.