ABSTRACT

In this short snippet, a Sprite is created on the Stage that has its coordinates set to (50,50). According to the Sprite’s coordinate system, its center is at (0,0). By running localToGlobal on the Point object, we can see that according to the Stage the center is actually at (50,50).