The vertical display origin of this Game Object, expressed in pixels.
Unlike originY, which is a normalized value between 0 and 1, the display origin is the
calculated pixel offset derived from the Game Object's height multiplied by its originY value.
Setting this property updates originY accordingly.
The horizontal origin of this Game Object.
The origin maps the relationship between the size and position of the Game Object.
The default value is 0.5, meaning all Game Objects are positioned based on their center.
Setting the value to 0 means the position now relates to the left of the Game Object.
Set this value with setOrigin().
The vertical origin of this Game Object.
The origin maps the relationship between the size and position of the Game Object.
The default value is 0.5, meaning all Game Objects are positioned based on their center.
Setting the value to 0 means the position now relates to the top of the Game Object.
Set this value with setOrigin().
The horizontal display origin of this Game Object, expressed in pixels. Unlike
originX, which is a normalized value between 0 and 1, the display origin is the calculated pixel offset derived from the Game Object's width multiplied by itsoriginXvalue. Setting this property updatesoriginXaccordingly.