The anchor property defines the point on an item that will be directly over the item’s position. To align multiple items on, say, their left edge, just set their anchor’s
x value to -50. If they all have matching position
x values they will all line up. The anchor property can be animated as this demonstration shows.
This demonstration also shows how classes can be used to avoid a lot of duplicate code.
The second story can be viewed by clicking the button labeled 2 under the editor. It is very similar to the first except it animates in the