[Resolved] Mask tweening, no luck so far

Hi people,

The docs say “A mask has it own transform that can be tweened. Its properties are accessible via the display object being masked.”

But I can’t get this to work. Has anyone had any success tweening a mask - and what’s the syntax? I’ve tried all the logical paths but none works!

thx,
Thomas [import]uid: 70134 topic_id: 24875 reply_id: 324875[/import]

Sorry, I just found out how to do it. The correct syntax is something like this:

transition.to(object, {time = 1000, maskRotation = 180})

Cheers,
Thomas [import]uid: 70134 topic_id: 24875 reply_id: 100910[/import]

This is really helpful and should be mentioned at Bitmap Mask page.

Thanks, thomas6, you save my evening! :slight_smile: [import]uid: 117007 topic_id: 24875 reply_id: 106606[/import]