Skip to main content
Known Participant
February 8, 2021
Question

Animating masks scale via script.

  • February 8, 2021
  • 1 reply
  • 427 views

Hi.

Since all masks in animate are discarted and recreated upon publishing, the anchor point is suposed to be in the center of an mask. But when i try to offset the center by adding or decreasing half of its height/width, the mask still does not scale from top. It still moves a bit as if the anchor point is still somwhere near center. How do we change that? 

Changing Regx amd regy does some random things to position. 

    This topic has been closed for replies.

    1 reply

    kglad
    Community Expert
    Community Expert
    February 8, 2021

    use the transform tool to change to registration/pivot point.

    ed971Author
    Known Participant
    February 9, 2021

    Hey, thanks for reply.

    Like i pointed before, the transform tool and registration point does nothing. The mask always scales from center upon publishing.

    kglad
    Community Expert
    Community Expert
    February 9, 2021

    if changing the reg/pivot point does nothing to an object's scaling you're doing something wrong.  what you're doing wrong, i don't know.