It works, but it expands to both sides, even if you set initial and target left position to the same value and xxxLeftReference point.
[lua] local rect = display.newRect(50, 0, 10, 5)
rect:setReferencePoint(display.TopLeftReferencePoint)
rect.x = 50
transition.to(rect, {time = 2000, x=50, width=300})[/lua]
Anybody knows if there is way to make the rect expand only to the right? [import]uid: 52103 topic_id: 17603 reply_id: 317603[/import]
Thanks!