transition.to - add x and y size change

I would like a menu menu to sort of squash and squeeze so would be nice to use the transition.to to change the x and y size of the display object [import]uid: 9371 topic_id: 3901 reply_id: 303901[/import]

you can just change the width and height surely?

[import]uid: 6645 topic_id: 3901 reply_id: 11869[/import]

but want a transition i.e. not have to do the loop myself [import]uid: 9371 topic_id: 3901 reply_id: 11870[/import]

use xScale and yScale? [import]uid: 6645 topic_id: 3901 reply_id: 11871[/import]

The API docs don’t list those as being ‘available’. Are they?
[import]uid: 9371 topic_id: 3901 reply_id: 11872[/import]

i’m sure you can transition any property that’s read/writable

x,y,rotation,alpha, xScale, yScale etc

[import]uid: 6645 topic_id: 3901 reply_id: 11873[/import]

xScale and yScale work. Will ask Corona to update the API docs! [import]uid: 9371 topic_id: 3901 reply_id: 11875[/import]