From Test-Scratch-Wiki

Change Size by ()
2.0 Change Size by ().png
Category Looks
Type Stack

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; size values below that percentage are for shrunken sprites, and size values above it are for overlarge 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 plain
  • A growing object
  • A shrinking object
  • Changing the size of a paintbrush for painting
  • Draining a pool of water by shrinking the water sprite


Main article: List of Block Workarounds

The block can be replicated with the following code:

set size to ((size) + (amount))%

However, this is not exact because the main block rounds it and the math block gives exact numbers.[citation needed]

See Also

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