In other languages

Help the wiki!

The Scratch Wiki is made by and for Scratchers. Do you want to contribute?

Learn more about joining as an editor!

See discussions in the Community Portal

Costume Center

(Redirected from Rotation Center)

Changing the costume center in the Paint Editor.
A sprite's costume center, also called the rotation center, is considered the center of the sprite for technical purposes. Each costume has its own center. By default, it is in the mathematical center of the costume.

Use

The costume center is the spot which is centered on the sprite's location. The X position and Y position blocks correspond to the location of the costume center.

When changing direction, the center of rotation is the costume center. If the costume center is not in the center of the costume, this can give the illusion of rotating around an arbitrary point.

Editing

In the Paint Editor, there is an option to change the costume center in the upper right hand corner. Clicking the cross-hair image will reveal crosshairs on the screen that follow the cursor, allowing the user to designate a new center.

See Also

  • This page was last modified on 26 January 2014, at 05:57.