Point convertPointToBoxSpace(Point nodePoint)

Converts a point from the local coordinate system of the node to the coordinate system of the SpriteBox.

Point pointInBoxCoordinates = myNode.convertPointToBoxSpace(localPoint);

Source

Point convertPointToBoxSpace(Point nodePoint) {
  assert(nodePoint != null);
  assert(_spriteBox != null);

  Vector4 v =_nodeToBoxMatrix().transform(new Vector4(nodePoint.x, nodePoint.y, 0.0, 1.0));
  return new Point(v[0], v[1]);
}