Creative Communities of the World Forums

The peer to peer support community for media production professionals.

  • Posted by Steve Robinsons on March 18, 2021 at 9:39 am

    var posx = transform.xPosition;

    var posy = transform.yPosition;

    var rect = thisComp.layer("BG Box").content("Rectangle 1").content("Path 1").scale;

    var x= ease(posx,rect[0]/-2+20,rect[0]/2-20,10,100);

    var y= ease(posy,rect[1]/-2+20,rect[1]/2-20,100,10);

    [x,y]

    This time, I want to establish the limit in this white box regardless of its scale. I mean, if the scale changes the limit changes too.

    Here my wrong attempt:

    Steve Robinsons replied 5 years, 1 month ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy