Change Size by ()
change size by ()
Category Looks
Type Stack
Introduced in 1.0

The Change Size by () block is a Looks block and a Stack block. The block changes its sprite's size by the specified amount. The default sprite size is 100;[1] size values below that percentage are for shrunken sprites, and size values above it are for enlarged sprites.

Example Uses

As this block changes its sprite's size, it is used whenever a sprite's size must be changed. Some common uses are:

  • A sprite in a 3D world that must change its size as it moves along the plane
  • A growing object
  • A shrinking object, usually to the point where it can be hidden. This can be achieved by putting a minus sign (-) in front of the value. For example, to make a sprite shrink by a small amount, the value -5 might be used.
  • Changing the size of a paintbrush for painting
  • Draining a pool of water by shrinking the water sprite
  • Making an object that grows and shrinks continuously


Main article: List of Block Workarounds

The block can be replicated by setting the size directly using its value:

set size to ((size)+(. . .::grey))%

The size can also be decreased by using the minus operator or a negative number. However, this workaround is not as precise because the (size) block returns a rounded value.[2]

See Also


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