Is there a clean way to detect when a QML object such as a Rectangle overlaps another? Here's an example with two Rectangles colliding:
Item {
    anchors.fill: parent
    Rectangle {
       x: 50
       y: 100
       width: 300
       height: 300
       color: "red"
    }
    Rectangle {
       x: 30
       y: 100
       width: 300
       height: 300
       color: "green"
    }
}
Should I use MouseAreas?
