var background = image("https://thumbs.dreamstime.com/b/parking-lot-residents-city-district-aerial-top-drone-view-above-outdoor-195955079.jpg")
.scaleTo({type:FILL})
.center();
var circle = image("https://www.pngkit.com/png/full/187-1878158_red-top-car-cars-png-top-view.png").centerReg().sca(.3).rot(0).center(stage);
new MotionController({
target:circle, type: "mousemove", rotate:true, speed:2});
var rectangle = new Rectangle(100,50).pos(500, 250);
Ticker.add(function() {
// assuming we are controlling the circle from above
if (circle.hitTestCircleRect(rectangle)) {
rectangle.removeFrom();
// the Ticker automatically updates the stage
}
});
var rectangles = new Container().addTo();
new Label("park your car").sca(.5).pos(0,20,CENTER,TOP)