Using Director > Sprites > Positioning sprites

 

Positioning sprites

The easiest way to position a sprite is to simply drag the sprite into place on the Stage. To position a sprite more precisely, you can do any of the following:

Set a sprite's position on the Stage by entering coordinates in the Property Inspector.

Use the Tweak window.

Use guides or the grid.

Use the Align window.

Set the sprite's coordinates in Lingo.

The following diagram shows all of the sprite coordinates you can specify.

Director places the image of a cast member on the Stage by specifying the location of its registration point. For many cast members, such as bitmap or vector shapes, the registration point is in the center of the bounding rectangle by default. For other types of cast members, the registration point is at the upper left corner. (For instructions on changing the location of the registration point of bitmap cast members, see Changing registration points. For instructions on changing a vector shape cast member's registration point, see Editing vector shapes.)