This code tries to put both the red and the blue block at x=60. It doesn’t. The red block’s x is actually 100 according to blahrect.x. Meanwhile, although the blue block says x=60, it looks on screen more like 20.
redblock = display.newRect(60,40,80,20)
redblock:setFillColor(255,0,0)
blueblock = display.newRect(40,2,80,20)
blueblock:setFillColor(0,0,255)
transition.to(blueblock,{time=1000,x=60})
transition.to(blueblock,{time=1000,y=70})
[import]uid: 4978 topic_id: 602 reply_id: 300602[/import]