Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Using expression to link beam effect to mask, both on same layer

  • Using expression to link beam effect to mask, both on same layer

    Posted by Victoria Murphy on July 28, 2009 at 1:14 am

    On a single layer containing video, I created and animated a mask, and, using the beam effect, I created a beam. I want the movement of the beam to be linked to the movement of the mask. I tried to create expressions for the starting and endings point of the beam and link them to the shape of the mask. I got an error message. Is that right? Is it not possible to do this, or did I do something wrong? Thanks.
    Victoria

    Victoria Murphy replied 16 years, 10 months ago 2 Members · 2 Replies
  • 2 Replies
  • Kevin Camp

    July 28, 2009 at 5:11 pm

    [Victoria Murphy] “I tried to create expressions for the starting and endings point of the beam and link them to the shape of the mask. I got an error message. Is that right?”

    that sounds right, mask paths can’t have expressions.

    there is a script at crgreen.com/aescripts called connect vertex to point that will link a mask vertex to a 2d point (like a beam point). you might give that a try. however, i think it works the other way around, meaning, you’d animate the beam points and that would animate the mask vertexes.

    i’m not sure exactly what you are doing with the beam effect, but you might be able to accomplish the ‘beam’ with an effect like stroke, that uses masks to draw a line. as the mask animates so would the stroke. you can create the inner and outer ‘beam’ colors by using 2 instances of stroke on the same layer.

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

  • Victoria Murphy

    July 30, 2009 at 4:01 am

    Hi Kevin, Thank you for your suggestion. I’ve been pulled away on other projects so I won’t get a change to explore this till next week.
    Victoria

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