Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects Expressions › How can to fit corner?

  • How can to fit corner?

    Posted by Kim sangyeop on August 27, 2021 at 5:38 am

    Shape layer2

    └ Contents

    └ Rectangle 1

    └ Transform:Rectangle 1

    └Anchor Point

    var s = thisLayer

    var w = s.sourceRectAtTime().width/2;

    var h = s.sourceRectAtTime().height/2;

    [w,h]

    └Position

    var s = thisComp.layer(“Shape Layer1”);

    var w = s.sourceRectAtTime().width/2;

    var h = s.sourceRectAtTime().height;

    var l = s.sourceRectAtTime().left;

    var t = s.sourceRectAtTime().top;

    [w,h+t]

    I want to small square to fixed corner outside square.

    plz any advice

    Kim sangyeop 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