Configure Sprite Startup Conditions

One of the cool things about Scratch is that it remembers state.  If your sprite is in the center of the stage when the animation stops, the sprite will be in the center of the stage when the animation starts again. The same applies for costumes, direction, graphical effects, etc.

But what if you want to your sprite to reset everything when the project starts?

If you want to a sprite to do something specific at the start of the project, you need to program the startup conditions. Here are a few blocks to help you undo the actions of your scripts so that your sprites may start from defaults.

go to – specify an x and y coordinate. Found in the motion palette.

switch to costume – specify a costume. found in the Looks palette.

clear graphic effects – Undo any graphical transformations such as color, pixelate, whirl, mosaic, brightness, ghost, and fisheye. Found in the Look palette.

hide – The sprite is hidden from the stage. Found in the hide palette.

show – The sprite is displayed on the stage. This is a default value, so it’s only useful if the sprite ends up hidden. Found in the Looks palette.

clear – Undo the drawings from the pen tool. Found in the Pen palette.

These just a few useful blocks because they clear the stage of some of that animation clutter we may create with our projects. The point, of course, is if you want your sprite to start under specific conditions, program it.

One thought on “Configure Sprite Startup Conditions”

Leave a Reply

Your email address will not be published. Required fields are marked *