You can do this, using translateX/Y:
1var r: Rectangle = Rectangle {
2 layoutX: 0;
3 layoutY: 0;
4 translateX: bind - (r.width - 50)
5 translateY: bind - (r.height - 50)
6 height: 100
7 width: 100
8 stroke: Color.BLACK
9 fill: Color.YELLOW
10 };
so the rectangle would notionally act as though the locationX and Y values were set at the centre of the rectangle for pathing etc. All collision detection etc. should be unaffected.