Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions problem creating a wiggle range in position

  • problem creating a wiggle range in position

    Posted by Tomer Katzir on December 1, 2020 at 4:07 pm

    hey there:)

    I’m trying to define a wiggle expression that will only move the object in a certain range along the Y axis.

    here is the expression Im trying to use:

    minY = 300;

    maxY = 700;

    w= wiggle(2,20);

    y = linear(w,-20,20,minY,maxY);

    [value[0],y]

    i get this expression error :

    “argument 1 to linear() must be scalar”

    would love some help with this

    Dan Ebberts replied 5 years, 9 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    December 1, 2020 at 4:56 pm

    Try changing this:

    y = linear(w,-20,20,minY,maxY);

    to this:

    y = linear(w[1],-20,20,minY,maxY);

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