You can make a Sprite bigger or smaller with the SET SIZE command. ACTIONS Toolkit - Scroll down to SPRITE SETTINGS - Set Size Block. Use a number less than 1 to make your sprite smaller and a number bigger than 1 to make the sprite larger. This example program makes a sprite half of it's original size.

sprite = codesters.Sprite("penguin") # ACTIONS Toolkit - Scroll down to SPRITE SETTINGS # A number greater than 1 makes the sprite bigger and a less than 1 smaller sprite.set_size(0.5) # .5 makes the sprite 1/2 of it's original size
  • Run Code
  • Show Console
  • Codesters How To (opens in a new tab)