worldY property

double worldY

Returns the y coordinate of the object relative to the stage and all its ancestors.

Implementation

double get worldY {
  return y - pivotY * scaleY + ($parent?.worldY ?? 0);
}