Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Set position of a solid using javascript without enabling a keyframe

  • Set position of a solid using javascript without enabling a keyframe

    Posted by George Matthew on December 12, 2008 at 3:46 pm

    How do I use javascript to set the position of a solid in a comp?
    I want to create a graph grid in a comp. Thought I could use javascript to easily modify the parameters of the grid than manually create it each time.

    Dan Ebberts site discusses about setValueAtTime() method for a layer property.
    But setValueAtTime() method adds a keyframe at the time given in its parameters.
    What method should I use to set the position of a solid in a comp without enabling a keyframe?

    Dan Ebberts replied 17 years, 7 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    December 12, 2008 at 4:18 pm

    If you’re using a script, you can just use setValue() to set a staic value with no keyframe.

    Dan

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