4 width: 400; height: 400; color: "blue"
11 SmoothedAnimation on x { to: 200; velocity: 500 }
12 SmoothedAnimation on y { to: 200; velocity: 500 }
18 width: 60; height: 60;
19 x: rect1.x; y: rect1.y;
20 // id are needed for SmoothedAnimation in order to avoid deferred creation
21 Behavior on x { SmoothedAnimation { id: anim1; objectName: "easeX"; velocity: 400 } }
22 Behavior on y { SmoothedAnimation { id: anim2; objectName: "easeY"; velocity: 400 } }