pivot property

Offset pivot
read / write

The default pivot point for this texture. When creating a Sprite from the texture, this is the pivot point that will be used.

myTexture.pivot = new Point(0.5, 0.5);

Implementation

Offset pivot