Point convertPointFromNode(Point point, Node node)

Converts a point from another nodes coordinate system into the local coordinate system of this node.

Point pointInNodeASpace = nodeA.convertPointFromNode(pointInNodeBSpace, nodeB);

Source

Point convertPointFromNode(Point point, Node node) {
  assert(node != null);
  assert(point != null);
  assert(_spriteBox != null);
  assert(_spriteBox == node._spriteBox);

  Point boxPoint = node.convertPointToBoxSpace(point);
  Point localPoint = convertPointToNodeSpace(boxPoint);

  return localPoint;
}