Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Position Min Max

  • Posted by Alexander Weil on February 7, 2013 at 3:18 pm

    Hey
    i want to move a Null in my Comp but i dont want the Null to leave my Comp.
    a little search with google gave me this

    clamp(value, min=1, max=thisComp.width)

    but this only works on the X-axis
    my problem is that i dont want to seperate the dimensions

    thanks
    alex

    Alexander Weil replied 13 years, 2 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    February 7, 2013 at 5:13 pm

    This should work:

    clamp(value,[1,1],[thisComp.width,thisComp.height])

    Dan

  • Alexander Weil

    February 8, 2013 at 8:55 am

    thanks thats exactly what i was looking for

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