O'Reilly logo

Raspberry Pi For Dummies by Mike Cook, Sean McManus

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Positioning and Resizing Your Sprite

You can drag and drop your sprite (the cat) around the Stage to position it where you would like it to be at the start of your program.

You can also resize it. Two buttons above the Stage (indicated in Figure 10-1) are used to enlarge or shrink a sprite. Click one of them, and your mouse pointer changes to arrows pointing outwards (for enlarging) or inwards (for shrinking). Click your sprite on the Stage repeatedly to change its size to what you want.

When you’ve finished resizing, click something that isn’t a sprite to return the mouse pointer to normal and stop resizing.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required